Title: [100088] trunk/Source/WebCore
Revision
100088
Author
caio.olive...@openbossa.org
Date
2011-11-13 00:09:46 -0800 (Sun, 13 Nov 2011)

Log Message

Update binding generator tests to use jsCast
https://bugs.webkit.org/show_bug.cgi?id=72224

Reviewed by Geoffrey Garen.

Update the expected results for JS generator after r100006 added jsCast.

* bindings/scripts/test/JS/JSTestEventConstructor.cpp:
(WebCore::JSTestEventConstructor::getOwnPropertySlot):
(WebCore::JSTestEventConstructor::getOwnPropertyDescriptor):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (100087 => 100088)


--- trunk/Source/WebCore/ChangeLog	2011-11-13 07:40:46 UTC (rev 100087)
+++ trunk/Source/WebCore/ChangeLog	2011-11-13 08:09:46 UTC (rev 100088)
@@ -1,3 +1,16 @@
+2011-11-13  Caio Marcelo de Oliveira Filho  <caio.olive...@openbossa.org>
+
+        Update binding generator tests to use jsCast
+        https://bugs.webkit.org/show_bug.cgi?id=72224
+
+        Reviewed by Geoffrey Garen.
+
+        Update the expected results for JS generator after r100006 added jsCast.
+
+        * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+        (WebCore::JSTestEventConstructor::getOwnPropertySlot):
+        (WebCore::JSTestEventConstructor::getOwnPropertyDescriptor):
+
 2011-11-12  Sheriff Bot  <webkit.review....@gmail.com>
 
         Unreviewed, rolling out r100038.

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (100087 => 100088)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp	2011-11-13 07:40:46 UTC (rev 100087)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp	2011-11-13 08:09:46 UTC (rev 100088)
@@ -150,14 +150,14 @@
 
 bool JSTestEventConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, const Identifier& propertyName, PropertySlot& slot)
 {
-    JSTestEventConstructor* thisObject = static_cast<JSTestEventConstructor*>(cell);
+    JSTestEventConstructor* thisObject = jsCast<JSTestEventConstructor*>(cell);
     ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
     return getStaticValueSlot<JSTestEventConstructor, Base>(exec, &JSTestEventConstructorTable, thisObject, propertyName, slot);
 }
 
 bool JSTestEventConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)
 {
-    JSTestEventConstructor* thisObject = static_cast<JSTestEventConstructor*>(object);
+    JSTestEventConstructor* thisObject = jsCast<JSTestEventConstructor*>(object);
     ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
     return getStaticValueDescriptor<JSTestEventConstructor, Base>(exec, &JSTestEventConstructorTable, thisObject, propertyName, descriptor);
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to