Title: [133007] trunk/Source/WebCore
Revision
133007
Author
[email protected]
Date
2012-10-31 03:59:30 -0700 (Wed, 31 Oct 2012)

Log Message

Reset binding test result after r132973
https://bugs.webkit.org/show_bug.cgi?id=99178

Unreviewed gardening.

* bindings/scripts/test/JS/JSFloat64Array.cpp:
(WebCore::getJSFloat64ArrayConstructorTable):
(WebCore::JSFloat64ArrayConstructor::getOwnPropertySlot):
(WebCore::JSFloat64ArrayConstructor::getOwnPropertyDescriptor):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (133006 => 133007)


--- trunk/Source/WebCore/ChangeLog	2012-10-31 09:59:45 UTC (rev 133006)
+++ trunk/Source/WebCore/ChangeLog	2012-10-31 10:59:30 UTC (rev 133007)
@@ -1,3 +1,15 @@
+2012-10-31  Allan Sandfeld Jensen  <[email protected]>
+
+        Reset binding test result after r132973
+        https://bugs.webkit.org/show_bug.cgi?id=99178
+
+        Unreviewed gardening.
+
+        * bindings/scripts/test/JS/JSFloat64Array.cpp:
+        (WebCore::getJSFloat64ArrayConstructorTable):
+        (WebCore::JSFloat64ArrayConstructor::getOwnPropertySlot):
+        (WebCore::JSFloat64ArrayConstructor::getOwnPropertyDescriptor):
+
 2012-10-31  Mike West  <[email protected]>
 
         Script run from an isolated world should bypass a page's CSP.

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp (133006 => 133007)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp	2012-10-31 09:59:45 UTC (rev 133006)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp	2012-10-31 10:59:30 UTC (rev 133007)
@@ -53,8 +53,13 @@
 };
 
 static const HashTable JSFloat64ArrayConstructorTable = { 1, 0, JSFloat64ArrayConstructorTableValues, 0 };
-const ClassInfo JSFloat64ArrayConstructor::s_info = { "Float64ArrayConstructor", &Base::s_info, &JSFloat64ArrayConstructorTable, 0, CREATE_METHOD_TABLE(JSFloat64ArrayConstructor) };
+static const HashTable* getJSFloat64ArrayConstructorTable(ExecState* exec)
+{
+    return getHashTableForGlobalData(exec->globalData(), &JSFloat64ArrayConstructorTable);
+}
 
+const ClassInfo JSFloat64ArrayConstructor::s_info = { "Float64ArrayConstructor", &Base::s_info, 0, getJSFloat64ArrayConstructorTable, CREATE_METHOD_TABLE(JSFloat64ArrayConstructor) };
+
 JSFloat64ArrayConstructor::JSFloat64ArrayConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
     : DOMConstructorObject(structure, globalObject)
 {
@@ -70,12 +75,12 @@
 
 bool JSFloat64ArrayConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
 {
-    return getStaticValueSlot<JSFloat64ArrayConstructor, JSDOMWrapper>(exec, &JSFloat64ArrayConstructorTable, jsCast<JSFloat64ArrayConstructor*>(cell), propertyName, slot);
+    return getStaticValueSlot<JSFloat64ArrayConstructor, JSDOMWrapper>(exec, getJSFloat64ArrayConstructorTable(exec), jsCast<JSFloat64ArrayConstructor*>(cell), propertyName, slot);
 }
 
 bool JSFloat64ArrayConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
 {
-    return getStaticValueDescriptor<JSFloat64ArrayConstructor, JSDOMWrapper>(exec, &JSFloat64ArrayConstructorTable, jsCast<JSFloat64ArrayConstructor*>(object), propertyName, descriptor);
+    return getStaticValueDescriptor<JSFloat64ArrayConstructor, JSDOMWrapper>(exec, getJSFloat64ArrayConstructorTable(exec), jsCast<JSFloat64ArrayConstructor*>(object), propertyName, descriptor);
 }
 
 EncodedJSValue JSC_HOST_CALL JSFloat64ArrayConstructor::constructJSFloat64Array(ExecState* exec)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to