Title: [114730] trunk/Source/WebCore
Revision
114730
Author
hara...@chromium.org
Date
2012-04-20 02:28:13 -0700 (Fri, 20 Apr 2012)

Log Message

Unreviewed, rolling out r114519.
http://trac.webkit.org/changeset/114519
https://bugs.webkit.org/show_bug.cgi?id=84202

Chromium crash

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
* bindings/scripts/test/V8/V8Float64Array.h:
(V8Float64Array):
(WebCore::V8Float64Array::wrap):
(WebCore):
* bindings/scripts/test/V8/V8TestActiveDOMObject.h:
(V8TestActiveDOMObject):
(WebCore::V8TestActiveDOMObject::wrap):
(WebCore::toV8):
* bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
(V8TestCustomNamedGetter):
(WebCore::V8TestCustomNamedGetter::wrap):
(WebCore::toV8):
* bindings/scripts/test/V8/V8TestEventConstructor.h:
(V8TestEventConstructor):
(WebCore::V8TestEventConstructor::wrap):
(WebCore::toV8):
* bindings/scripts/test/V8/V8TestEventTarget.h:
(V8TestEventTarget):
(WebCore::V8TestEventTarget::wrap):
(WebCore::toV8):
* bindings/scripts/test/V8/V8TestInterface.h:
(V8TestInterface):
(WebCore::V8TestInterface::wrap):
(WebCore::toV8):
* bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
(V8TestMediaQueryListListener):
(WebCore::V8TestMediaQueryListListener::wrap):
(WebCore::toV8):
* bindings/scripts/test/V8/V8TestNamedConstructor.h:
(V8TestNamedConstructor):
(WebCore::V8TestNamedConstructor::wrap):
(WebCore::toV8):
* bindings/scripts/test/V8/V8TestNode.h:
(V8TestNode):
(WebCore::V8TestNode::wrap):
(WebCore::toV8):
* bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):
(WebCore::V8TestObj::wrap):
(WebCore::toV8):
* bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
(V8TestSerializedScriptValueInterface):
(WebCore::V8TestSerializedScriptValueInterface::wrap):
(WebCore::toV8):
* bindings/v8/custom/V8DocumentCustom.cpp:
(WebCore::toV8):
* bindings/v8/custom/V8HTMLDocumentCustom.cpp:
(WebCore::toV8):
* bindings/v8/custom/V8NodeCustom.cpp:
(WebCore::toV8Slow):
* bindings/v8/custom/V8SVGDocumentCustom.cpp:
(WebCore::toV8):
* dom/make_names.pl:
(printWrapperFactoryCppFile):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (114729 => 114730)


--- trunk/Source/WebCore/ChangeLog	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/ChangeLog	2012-04-20 09:28:13 UTC (rev 114730)
@@ -1,3 +1,68 @@
+2012-04-20  Kentaro Hara  <hara...@chromium.org>
+
+        Unreviewed, rolling out r114519.
+        http://trac.webkit.org/changeset/114519
+        https://bugs.webkit.org/show_bug.cgi?id=84202
+
+        Chromium crash
+
+        * bindings/scripts/CodeGeneratorV8.pm:
+        (GenerateHeader):
+        * bindings/scripts/test/V8/V8Float64Array.h:
+        (V8Float64Array):
+        (WebCore::V8Float64Array::wrap):
+        (WebCore):
+        * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
+        (V8TestActiveDOMObject):
+        (WebCore::V8TestActiveDOMObject::wrap):
+        (WebCore::toV8):
+        * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
+        (V8TestCustomNamedGetter):
+        (WebCore::V8TestCustomNamedGetter::wrap):
+        (WebCore::toV8):
+        * bindings/scripts/test/V8/V8TestEventConstructor.h:
+        (V8TestEventConstructor):
+        (WebCore::V8TestEventConstructor::wrap):
+        (WebCore::toV8):
+        * bindings/scripts/test/V8/V8TestEventTarget.h:
+        (V8TestEventTarget):
+        (WebCore::V8TestEventTarget::wrap):
+        (WebCore::toV8):
+        * bindings/scripts/test/V8/V8TestInterface.h:
+        (V8TestInterface):
+        (WebCore::V8TestInterface::wrap):
+        (WebCore::toV8):
+        * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
+        (V8TestMediaQueryListListener):
+        (WebCore::V8TestMediaQueryListListener::wrap):
+        (WebCore::toV8):
+        * bindings/scripts/test/V8/V8TestNamedConstructor.h:
+        (V8TestNamedConstructor):
+        (WebCore::V8TestNamedConstructor::wrap):
+        (WebCore::toV8):
+        * bindings/scripts/test/V8/V8TestNode.h:
+        (V8TestNode):
+        (WebCore::V8TestNode::wrap):
+        (WebCore::toV8):
+        * bindings/scripts/test/V8/V8TestObj.h:
+        (V8TestObj):
+        (WebCore::V8TestObj::wrap):
+        (WebCore::toV8):
+        * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
+        (V8TestSerializedScriptValueInterface):
+        (WebCore::V8TestSerializedScriptValueInterface::wrap):
+        (WebCore::toV8):
+        * bindings/v8/custom/V8DocumentCustom.cpp:
+        (WebCore::toV8):
+        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
+        (WebCore::toV8):
+        * bindings/v8/custom/V8NodeCustom.cpp:
+        (WebCore::toV8Slow):
+        * bindings/v8/custom/V8SVGDocumentCustom.cpp:
+        (WebCore::toV8):
+        * dom/make_names.pl:
+        (printWrapperFactoryCppFile):
+
 2012-04-19  Pavel Feldman  <pfeld...@chromium.org>
 
         Web Inspector: replace @type annotation with @return annotation for getters

Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm	2012-04-20 09:28:13 UTC (rev 114730)
@@ -327,7 +327,7 @@
     {
         return reinterpret_cast<${nativeType}*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(${nativeType}*, v8::Isolate* = 0${forceNewObjectParameter});
+    inline static v8::Handle<v8::Object> wrap(${nativeType}*${forceNewObjectParameter});
     static void derefObject(void*);
     static WrapperTypeInfo info;
 END
@@ -420,7 +420,7 @@
 END
 
     push(@headerContent, <<END);
-v8::Handle<v8::Object> ${className}::wrap(${nativeType}* impl, v8::Isolate* isolate${forceNewObjectInput})
+v8::Handle<v8::Object> ${className}::wrap(${nativeType}* impl${forceNewObjectInput})
 {
 END
     push(@headerContent, "    if (!forceNewObject) {\n") if IsDOMNodeType($interfaceName);
@@ -445,13 +445,13 @@
 {
     if (!impl)
         return v8::Null();
-    return ${className}::wrap(impl, isolate${forceNewObjectCall});
+    return ${className}::wrap(impl${forceNewObjectCall});
 }
 END
     } elsif ($interfaceName ne 'Node') {
         push(@headerContent, <<END);
 
-v8::Handle<v8::Value> toV8(${nativeType}*, v8::Isolate* = 0${forceNewObjectParameter});
+v8::Handle<v8::Value> toV8(${nativeType}*, v8::Isolate* isolate = 0${forceNewObjectParameter});
 END
     } else {
         push(@headerContent, <<END);

Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8Float64Array.h (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/test/V8/V8Float64Array.h	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8Float64Array.h	2012-04-20 09:28:13 UTC (rev 114730)
@@ -41,7 +41,7 @@
     {
         return reinterpret_cast<Float64Array*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(Float64Array*, v8::Isolate* = 0);
+    inline static v8::Handle<v8::Object> wrap(Float64Array*);
     static void derefObject(void*);
     static WrapperTypeInfo info;
     static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&);
@@ -50,7 +50,7 @@
     static v8::Handle<v8::Object> wrapSlow(PassRefPtr<Float64Array>);
 };
 
-v8::Handle<v8::Object> V8Float64Array::wrap(Float64Array* impl, v8::Isolate* isolate)
+v8::Handle<v8::Object> V8Float64Array::wrap(Float64Array* impl)
 {
         v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
         if (!wrapper.IsEmpty())
@@ -58,7 +58,7 @@
     return V8Float64Array::wrapSlow(impl);
 }
 
-v8::Handle<v8::Value> toV8(Float64Array*, v8::Isolate* = 0);
+v8::Handle<v8::Value> toV8(Float64Array*, v8::Isolate* isolate = 0);
 inline v8::Handle<v8::Value> toV8(PassRefPtr< Float64Array > impl, v8::Isolate* isolate = 0)
 {
     return toV8(impl.get(), isolate);

Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestActiveDOMObject.h (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestActiveDOMObject.h	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestActiveDOMObject.h	2012-04-20 09:28:13 UTC (rev 114730)
@@ -40,7 +40,7 @@
     {
         return reinterpret_cast<TestActiveDOMObject*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(TestActiveDOMObject*, v8::Isolate* = 0);
+    inline static v8::Handle<v8::Object> wrap(TestActiveDOMObject*);
     static void derefObject(void*);
     static WrapperTypeInfo info;
     static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
@@ -50,7 +50,7 @@
     static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestActiveDOMObject>);
 };
 
-v8::Handle<v8::Object> V8TestActiveDOMObject::wrap(TestActiveDOMObject* impl, v8::Isolate* isolate)
+v8::Handle<v8::Object> V8TestActiveDOMObject::wrap(TestActiveDOMObject* impl)
 {
         v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
         if (!wrapper.IsEmpty())
@@ -62,7 +62,7 @@
 {
     if (!impl)
         return v8::Null();
-    return V8TestActiveDOMObject::wrap(impl, isolate);
+    return V8TestActiveDOMObject::wrap(impl);
 }
 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestActiveDOMObject > impl, v8::Isolate* isolate = 0)
 {

Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestCustomNamedGetter.h (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestCustomNamedGetter.h	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestCustomNamedGetter.h	2012-04-20 09:28:13 UTC (rev 114730)
@@ -40,7 +40,7 @@
     {
         return reinterpret_cast<TestCustomNamedGetter*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(TestCustomNamedGetter*, v8::Isolate* = 0);
+    inline static v8::Handle<v8::Object> wrap(TestCustomNamedGetter*);
     static void derefObject(void*);
     static WrapperTypeInfo info;
     static v8::Handle<v8::Value> namedPropertyGetter(v8::Local<v8::String>, const v8::AccessorInfo&);
@@ -49,7 +49,7 @@
     static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestCustomNamedGetter>);
 };
 
-v8::Handle<v8::Object> V8TestCustomNamedGetter::wrap(TestCustomNamedGetter* impl, v8::Isolate* isolate)
+v8::Handle<v8::Object> V8TestCustomNamedGetter::wrap(TestCustomNamedGetter* impl)
 {
         v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
         if (!wrapper.IsEmpty())
@@ -61,7 +61,7 @@
 {
     if (!impl)
         return v8::Null();
-    return V8TestCustomNamedGetter::wrap(impl, isolate);
+    return V8TestCustomNamedGetter::wrap(impl);
 }
 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestCustomNamedGetter > impl, v8::Isolate* isolate = 0)
 {

Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.h (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.h	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.h	2012-04-20 09:28:13 UTC (rev 114730)
@@ -41,7 +41,7 @@
     {
         return reinterpret_cast<TestEventConstructor*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(TestEventConstructor*, v8::Isolate* = 0);
+    inline static v8::Handle<v8::Object> wrap(TestEventConstructor*);
     static void derefObject(void*);
     static WrapperTypeInfo info;
     static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&);
@@ -50,7 +50,7 @@
     static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestEventConstructor>);
 };
 
-v8::Handle<v8::Object> V8TestEventConstructor::wrap(TestEventConstructor* impl, v8::Isolate* isolate)
+v8::Handle<v8::Object> V8TestEventConstructor::wrap(TestEventConstructor* impl)
 {
         v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
         if (!wrapper.IsEmpty())
@@ -62,7 +62,7 @@
 {
     if (!impl)
         return v8::Null();
-    return V8TestEventConstructor::wrap(impl, isolate);
+    return V8TestEventConstructor::wrap(impl);
 }
 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestEventConstructor > impl, v8::Isolate* isolate = 0)
 {

Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventTarget.h (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventTarget.h	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventTarget.h	2012-04-20 09:28:13 UTC (rev 114730)
@@ -40,7 +40,7 @@
     {
         return reinterpret_cast<TestEventTarget*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(TestEventTarget*, v8::Isolate* = 0);
+    inline static v8::Handle<v8::Object> wrap(TestEventTarget*);
     static void derefObject(void*);
     static WrapperTypeInfo info;
     static v8::Handle<v8::Value> indexedPropertyGetter(uint32_t, const v8::AccessorInfo&);
@@ -51,7 +51,7 @@
     static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestEventTarget>);
 };
 
-v8::Handle<v8::Object> V8TestEventTarget::wrap(TestEventTarget* impl, v8::Isolate* isolate)
+v8::Handle<v8::Object> V8TestEventTarget::wrap(TestEventTarget* impl)
 {
         v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
         if (!wrapper.IsEmpty())
@@ -63,7 +63,7 @@
 {
     if (!impl)
         return v8::Null();
-    return V8TestEventTarget::wrap(impl, isolate);
+    return V8TestEventTarget::wrap(impl);
 }
 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestEventTarget > impl, v8::Isolate* isolate = 0)
 {

Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.h (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.h	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.h	2012-04-20 09:28:13 UTC (rev 114730)
@@ -42,7 +42,7 @@
     {
         return reinterpret_cast<TestInterface*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(TestInterface*, v8::Isolate* = 0);
+    inline static v8::Handle<v8::Object> wrap(TestInterface*);
     static void derefObject(void*);
     static WrapperTypeInfo info;
     static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>);
@@ -53,7 +53,7 @@
     static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestInterface>);
 };
 
-v8::Handle<v8::Object> V8TestInterface::wrap(TestInterface* impl, v8::Isolate* isolate)
+v8::Handle<v8::Object> V8TestInterface::wrap(TestInterface* impl)
 {
         v8::Handle<v8::Object> wrapper = getActiveDOMObjectMap().get(impl);
         if (!wrapper.IsEmpty())
@@ -65,7 +65,7 @@
 {
     if (!impl)
         return v8::Null();
-    return V8TestInterface::wrap(impl, isolate);
+    return V8TestInterface::wrap(impl);
 }
 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestInterface > impl, v8::Isolate* isolate = 0)
 {

Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.h (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.h	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.h	2012-04-20 09:28:13 UTC (rev 114730)
@@ -40,7 +40,7 @@
     {
         return reinterpret_cast<TestMediaQueryListListener*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(TestMediaQueryListListener*, v8::Isolate* = 0);
+    inline static v8::Handle<v8::Object> wrap(TestMediaQueryListListener*);
     static void derefObject(void*);
     static WrapperTypeInfo info;
     static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
@@ -48,7 +48,7 @@
     static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestMediaQueryListListener>);
 };
 
-v8::Handle<v8::Object> V8TestMediaQueryListListener::wrap(TestMediaQueryListListener* impl, v8::Isolate* isolate)
+v8::Handle<v8::Object> V8TestMediaQueryListListener::wrap(TestMediaQueryListListener* impl)
 {
         v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
         if (!wrapper.IsEmpty())
@@ -60,7 +60,7 @@
 {
     if (!impl)
         return v8::Null();
-    return V8TestMediaQueryListListener::wrap(impl, isolate);
+    return V8TestMediaQueryListListener::wrap(impl);
 }
 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestMediaQueryListListener > impl, v8::Isolate* isolate = 0)
 {

Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.h (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.h	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.h	2012-04-20 09:28:13 UTC (rev 114730)
@@ -46,7 +46,7 @@
     {
         return reinterpret_cast<TestNamedConstructor*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(TestNamedConstructor*, v8::Isolate* = 0);
+    inline static v8::Handle<v8::Object> wrap(TestNamedConstructor*);
     static void derefObject(void*);
     static WrapperTypeInfo info;
     static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>);
@@ -55,7 +55,7 @@
     static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestNamedConstructor>);
 };
 
-v8::Handle<v8::Object> V8TestNamedConstructor::wrap(TestNamedConstructor* impl, v8::Isolate* isolate)
+v8::Handle<v8::Object> V8TestNamedConstructor::wrap(TestNamedConstructor* impl)
 {
         v8::Handle<v8::Object> wrapper = getActiveDOMObjectMap().get(impl);
         if (!wrapper.IsEmpty())
@@ -67,7 +67,7 @@
 {
     if (!impl)
         return v8::Null();
-    return V8TestNamedConstructor::wrap(impl, isolate);
+    return V8TestNamedConstructor::wrap(impl);
 }
 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestNamedConstructor > impl, v8::Isolate* isolate = 0)
 {

Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNode.h (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNode.h	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNode.h	2012-04-20 09:28:13 UTC (rev 114730)
@@ -40,7 +40,7 @@
     {
         return reinterpret_cast<TestNode*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(TestNode*, v8::Isolate* = 0);
+    inline static v8::Handle<v8::Object> wrap(TestNode*);
     static void derefObject(void*);
     static WrapperTypeInfo info;
     static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&);
@@ -49,7 +49,7 @@
     static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestNode>);
 };
 
-v8::Handle<v8::Object> V8TestNode::wrap(TestNode* impl, v8::Isolate* isolate)
+v8::Handle<v8::Object> V8TestNode::wrap(TestNode* impl)
 {
         v8::Handle<v8::Object> wrapper = V8DOMWrapper::getCachedWrapper(impl);
         if (!wrapper.IsEmpty())
@@ -61,7 +61,7 @@
 {
     if (!impl)
         return v8::Null();
-    return V8TestNode::wrap(impl, isolate);
+    return V8TestNode::wrap(impl);
 }
 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestNode > impl, v8::Isolate* isolate = 0)
 {

Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.h (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.h	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.h	2012-04-20 09:28:13 UTC (rev 114730)
@@ -40,7 +40,7 @@
     {
         return reinterpret_cast<TestObj*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(TestObj*, v8::Isolate* = 0);
+    inline static v8::Handle<v8::Object> wrap(TestObj*);
     static void derefObject(void*);
     static WrapperTypeInfo info;
     static v8::Handle<v8::Value> customMethodCallback(const v8::Arguments&);
@@ -54,7 +54,7 @@
     static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestObj>);
 };
 
-v8::Handle<v8::Object> V8TestObj::wrap(TestObj* impl, v8::Isolate* isolate)
+v8::Handle<v8::Object> V8TestObj::wrap(TestObj* impl)
 {
         v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
         if (!wrapper.IsEmpty())
@@ -66,7 +66,7 @@
 {
     if (!impl)
         return v8::Null();
-    return V8TestObj::wrap(impl, isolate);
+    return V8TestObj::wrap(impl);
 }
 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestObj > impl, v8::Isolate* isolate = 0)
 {

Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h (114729 => 114730)


--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h	2012-04-20 09:28:13 UTC (rev 114730)
@@ -42,7 +42,7 @@
     {
         return reinterpret_cast<TestSerializedScriptValueInterface*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
     }
-    inline static v8::Handle<v8::Object> wrap(TestSerializedScriptValueInterface*, v8::Isolate* = 0);
+    inline static v8::Handle<v8::Object> wrap(TestSerializedScriptValueInterface*);
     static void derefObject(void*);
     static WrapperTypeInfo info;
     static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&);
@@ -51,7 +51,7 @@
     static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestSerializedScriptValueInterface>);
 };
 
-v8::Handle<v8::Object> V8TestSerializedScriptValueInterface::wrap(TestSerializedScriptValueInterface* impl, v8::Isolate* isolate)
+v8::Handle<v8::Object> V8TestSerializedScriptValueInterface::wrap(TestSerializedScriptValueInterface* impl)
 {
         v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
         if (!wrapper.IsEmpty())
@@ -63,7 +63,7 @@
 {
     if (!impl)
         return v8::Null();
-    return V8TestSerializedScriptValueInterface::wrap(impl, isolate);
+    return V8TestSerializedScriptValueInterface::wrap(impl);
 }
 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestSerializedScriptValueInterface > impl, v8::Isolate* isolate = 0)
 {

Modified: trunk/Source/WebCore/bindings/v8/custom/V8DocumentCustom.cpp (114729 => 114730)


--- trunk/Source/WebCore/bindings/v8/custom/V8DocumentCustom.cpp	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/v8/custom/V8DocumentCustom.cpp	2012-04-20 09:28:13 UTC (rev 114730)
@@ -126,7 +126,7 @@
     if (impl->isSVGDocument())
         return toV8(static_cast<SVGDocument*>(impl), isolate, forceNewObject);
 #endif
-    v8::Handle<v8::Object> wrapper = V8Document::wrap(impl, isolate, forceNewObject);
+    v8::Handle<v8::Object> wrapper = V8Document::wrap(impl, forceNewObject);
     if (wrapper.IsEmpty())
         return wrapper;
     if (!V8IsolatedContext::getEntered()) {

Modified: trunk/Source/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp (114729 => 114730)


--- trunk/Source/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp	2012-04-20 09:28:13 UTC (rev 114730)
@@ -190,7 +190,7 @@
 {
     if (!impl)
         return v8::Null();
-    v8::Handle<v8::Object> wrapper = V8HTMLDocument::wrap(impl, isolate, forceNewObject);
+    v8::Handle<v8::Object> wrapper = V8HTMLDocument::wrap(impl, forceNewObject);
     if (wrapper.IsEmpty())
         return wrapper;
     if (!V8IsolatedContext::getEntered()) {

Modified: trunk/Source/WebCore/bindings/v8/custom/V8NodeCustom.cpp (114729 => 114730)


--- trunk/Source/WebCore/bindings/v8/custom/V8NodeCustom.cpp	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/v8/custom/V8NodeCustom.cpp	2012-04-20 09:28:13 UTC (rev 114730)
@@ -154,7 +154,7 @@
         if (impl->isSVGElement())
             return toV8(static_cast<SVGElement*>(impl), isolate, forceNewObject);
 #endif
-        return V8Element::wrap(static_cast<Element*>(impl), isolate, forceNewObject);
+        return V8Element::wrap(static_cast<Element*>(impl), forceNewObject);
     case Node::ATTRIBUTE_NODE:
         return toV8(static_cast<Attr*>(impl), isolate, forceNewObject);
     case Node::TEXT_NODE:
@@ -179,6 +179,6 @@
         return toV8(static_cast<Notation*>(impl), isolate, forceNewObject);
     default: break; // XPATH_NAMESPACE_NODE
     }
-    return V8Node::wrap(impl, isolate, forceNewObject);
+    return V8Node::wrap(impl, forceNewObject);
 }
 } // namespace WebCore

Modified: trunk/Source/WebCore/bindings/v8/custom/V8SVGDocumentCustom.cpp (114729 => 114730)


--- trunk/Source/WebCore/bindings/v8/custom/V8SVGDocumentCustom.cpp	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/bindings/v8/custom/V8SVGDocumentCustom.cpp	2012-04-20 09:28:13 UTC (rev 114730)
@@ -42,7 +42,7 @@
 {
     if (!impl)
         return v8::Null();
-    v8::Handle<v8::Object> wrapper = V8SVGDocument::wrap(impl, isolate, forceNewObject);
+    v8::Handle<v8::Object> wrapper = V8SVGDocument::wrap(impl, forceNewObject);
     if (wrapper.IsEmpty())
         return wrapper;
     if (!V8IsolatedContext::getEntered()) {

Modified: trunk/Source/WebCore/dom/make_names.pl (114729 => 114730)


--- trunk/Source/WebCore/dom/make_names.pl	2012-04-20 09:15:13 UTC (rev 114729)
+++ trunk/Source/WebCore/dom/make_names.pl	2012-04-20 09:28:13 UTC (rev 114730)
@@ -1212,7 +1212,7 @@
     } elsif ($wrapperFactoryType eq "V8") {
         print F <<END
         return createWrapperFunction(element);
-    return V8$parameters{fallbackInterfaceName}::wrap(to$parameters{fallbackInterfaceName}(element), 0, forceNewObject);
+    return V8$parameters{fallbackInterfaceName}::wrap(to$parameters{fallbackInterfaceName}(element), forceNewObject);
 END
 ;
     }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to