Title: [217590] trunk/Source/WebCore
Revision
217590
Author
wei...@apple.com
Date
2017-05-30 22:15:00 -0700 (Tue, 30 May 2017)

Log Message

Update test result after r217585.

* bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp:
(WebCore::JSTestNamedDeleterWithIndexedGetter::deleteProperty):
(WebCore::JSTestNamedDeleterWithIndexedGetter::deletePropertyByIndex):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (217589 => 217590)


--- trunk/Source/WebCore/ChangeLog	2017-05-31 03:09:18 UTC (rev 217589)
+++ trunk/Source/WebCore/ChangeLog	2017-05-31 05:15:00 UTC (rev 217590)
@@ -1,3 +1,11 @@
+2017-05-30  Sam Weinig  <s...@webkit.org>
+
+        Update test result after r217585.
+
+        * bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp:
+        (WebCore::JSTestNamedDeleterWithIndexedGetter::deleteProperty):
+        (WebCore::JSTestNamedDeleterWithIndexedGetter::deletePropertyByIndex):
+
 2017-05-30  Dan Bernstein  <m...@apple.com>
 
         Fixed the build after r217588.

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp (217589 => 217590)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp	2017-05-31 03:09:18 UTC (rev 217589)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp	2017-05-31 05:15:00 UTC (rev 217590)
@@ -186,7 +186,7 @@
     auto& thisObject = *jsCast<JSTestNamedDeleterWithIndexedGetter*>(cell);
     auto& impl = thisObject.wrapped();
     if (auto index = parseIndex(propertyName))
-        return !impl.isSupportedPropertyIndex(index.value()) ? true : false;
+        return !impl.isSupportedPropertyIndex(index.value());
     if (isVisibleNamedProperty<false>(*state, thisObject, propertyName)) {
         return impl.deleteNamedProperty(propertyNameToString(propertyName));
     }
@@ -197,7 +197,7 @@
 {
     auto& thisObject = *jsCast<JSTestNamedDeleterWithIndexedGetter*>(cell);
     auto& impl = thisObject.wrapped();
-    return !impl.isSupportedPropertyIndex(index) ? true : false;
+    return !impl.isSupportedPropertyIndex(index);
 }
 
 EncodedJSValue jsTestNamedDeleterWithIndexedGetterConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to