Diff
Modified: trunk/Source/WebCore/ChangeLog (115349 => 115350)
--- trunk/Source/WebCore/ChangeLog 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/ChangeLog 2012-04-26 20:34:09 UTC (rev 115350)
@@ -1,3 +1,75 @@
+2012-04-26 Kentaro Hara <[email protected]>
+
+ [V8] Pass Isolate to wrapSlow()
+ https://bugs.webkit.org/show_bug.cgi?id=84919
+
+ Reviewed by Nate Chapin.
+
+ The objective is to pass Isolate around in V8 bindings.
+ In this bug, we pass Isolate to wrapSlow().
+
+ Test: bindings/scripts/test/TestObj.idl etc
+
+ * bindings/scripts/CodeGeneratorV8.pm: Modified as described above.
+ (GenerateHeader):
+ (GenerateToV8Converters):
+
+ * bindings/scripts/test/V8/V8Float64Array.cpp: Updated run-bindings-tests.
+ (WebCore::V8Float64Array::wrapSlow):
+ * bindings/scripts/test/V8/V8Float64Array.h:
+ (V8Float64Array):
+ (WebCore::V8Float64Array::wrap):
+ * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
+ (WebCore::V8TestActiveDOMObject::wrapSlow):
+ * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
+ (V8TestActiveDOMObject):
+ (WebCore::V8TestActiveDOMObject::wrap):
+ * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
+ (WebCore::V8TestCustomNamedGetter::wrapSlow):
+ * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
+ (V8TestCustomNamedGetter):
+ (WebCore::V8TestCustomNamedGetter::wrap):
+ * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
+ (WebCore::V8TestEventConstructor::wrapSlow):
+ * bindings/scripts/test/V8/V8TestEventConstructor.h:
+ (V8TestEventConstructor):
+ (WebCore::V8TestEventConstructor::wrap):
+ * bindings/scripts/test/V8/V8TestEventTarget.cpp:
+ (WebCore::V8TestEventTarget::wrapSlow):
+ * bindings/scripts/test/V8/V8TestEventTarget.h:
+ (V8TestEventTarget):
+ (WebCore::V8TestEventTarget::wrap):
+ * bindings/scripts/test/V8/V8TestInterface.cpp:
+ (WebCore::V8TestInterface::wrapSlow):
+ * bindings/scripts/test/V8/V8TestInterface.h:
+ (V8TestInterface):
+ (WebCore::V8TestInterface::wrap):
+ * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
+ (WebCore::V8TestMediaQueryListListener::wrapSlow):
+ * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
+ (V8TestMediaQueryListListener):
+ (WebCore::V8TestMediaQueryListListener::wrap):
+ * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
+ (WebCore::V8TestNamedConstructor::wrapSlow):
+ * bindings/scripts/test/V8/V8TestNamedConstructor.h:
+ (V8TestNamedConstructor):
+ (WebCore::V8TestNamedConstructor::wrap):
+ * bindings/scripts/test/V8/V8TestNode.cpp:
+ (WebCore::V8TestNode::wrapSlow):
+ * bindings/scripts/test/V8/V8TestNode.h:
+ (V8TestNode):
+ (WebCore::V8TestNode::wrap):
+ * bindings/scripts/test/V8/V8TestObj.cpp:
+ (WebCore::V8TestObj::wrapSlow):
+ * bindings/scripts/test/V8/V8TestObj.h:
+ (V8TestObj):
+ (WebCore::V8TestObj::wrap):
+ * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
+ (WebCore::V8TestSerializedScriptValueInterface::wrapSlow):
+ * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
+ (V8TestSerializedScriptValueInterface):
+ (WebCore::V8TestSerializedScriptValueInterface::wrap):
+
2012-04-25 Antonio Gomes <[email protected]>
Add ScrollAnimatorBlackBerry as an extension to ScrollAnimatorNone
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm 2012-04-26 20:34:09 UTC (rev 115350)
@@ -414,7 +414,7 @@
my $wrapSlowArgumentType = GetPassRefPtrType($nativeType);
push(@headerContent, <<END);
private:
- static v8::Handle<v8::Object> wrapSlow(${wrapSlowArgumentType});
+ static v8::Handle<v8::Object> wrapSlow(${wrapSlowArgumentType}, v8::Isolate*);
};
END
@@ -432,7 +432,7 @@
END
push(@headerContent, " }\n") if IsDOMNodeType($interfaceName);
push(@headerContent, <<END);
- return ${className}::wrapSlow(impl);
+ return ${className}::wrapSlow(impl, isolate);
}
END
@@ -3116,7 +3116,7 @@
push(@implContent, <<END);
-v8::Handle<v8::Object> ${className}::wrapSlow(${wrapSlowArgumentType} impl)
+v8::Handle<v8::Object> ${className}::wrapSlow(${wrapSlowArgumentType} impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
END
@@ -3139,7 +3139,7 @@
push(@implContent, <<END);
if (proxy && proxy->windowShell()->context().IsEmpty() && proxy->windowShell()->initContextIfNeeded()) {
// initContextIfNeeded may have created a wrapper for the object, retry from the start.
- return ${className}::wrap(impl.get());
+ return ${className}::wrap(impl.get(), isolate);
}
END
}
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8Float64Array.cpp (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8Float64Array.cpp 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8Float64Array.cpp 2012-04-26 20:34:09 UTC (rev 115350)
@@ -120,7 +120,7 @@
}
-v8::Handle<v8::Object> V8Float64Array::wrapSlow(PassRefPtr<Float64Array> impl)
+v8::Handle<v8::Object> V8Float64Array::wrapSlow(PassRefPtr<Float64Array> impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
V8Proxy* proxy = 0;
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8Float64Array.h (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8Float64Array.h 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8Float64Array.h 2012-04-26 20:34:09 UTC (rev 115350)
@@ -47,7 +47,7 @@
static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
private:
- static v8::Handle<v8::Object> wrapSlow(PassRefPtr<Float64Array>);
+ static v8::Handle<v8::Object> wrapSlow(PassRefPtr<Float64Array>, v8::Isolate*);
};
v8::Handle<v8::Object> V8Float64Array::wrap(Float64Array* impl, v8::Isolate* isolate)
@@ -55,7 +55,7 @@
v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
if (!wrapper.IsEmpty())
return wrapper;
- return V8Float64Array::wrapSlow(impl);
+ return V8Float64Array::wrapSlow(impl, isolate);
}
v8::Handle<v8::Value> toV8(Float64Array*, v8::Isolate* = 0);
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestActiveDOMObject.cpp (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestActiveDOMObject.cpp 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestActiveDOMObject.cpp 2012-04-26 20:34:09 UTC (rev 115350)
@@ -158,7 +158,7 @@
}
-v8::Handle<v8::Object> V8TestActiveDOMObject::wrapSlow(PassRefPtr<TestActiveDOMObject> impl)
+v8::Handle<v8::Object> V8TestActiveDOMObject::wrapSlow(PassRefPtr<TestActiveDOMObject> impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
V8Proxy* proxy = 0;
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestActiveDOMObject.h (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestActiveDOMObject.h 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestActiveDOMObject.h 2012-04-26 20:34:09 UTC (rev 115350)
@@ -47,7 +47,7 @@
static bool namedSecurityCheck(v8::Local<v8::Object> host, v8::Local<v8::Value> key, v8::AccessType, v8::Local<v8::Value> data);
static bool indexedSecurityCheck(v8::Local<v8::Object> host, uint32_t index, v8::AccessType, v8::Local<v8::Value> data);
private:
- static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestActiveDOMObject>);
+ static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestActiveDOMObject>, v8::Isolate*);
};
v8::Handle<v8::Object> V8TestActiveDOMObject::wrap(TestActiveDOMObject* impl, v8::Isolate* isolate)
@@ -55,7 +55,7 @@
v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
if (!wrapper.IsEmpty())
return wrapper;
- return V8TestActiveDOMObject::wrapSlow(impl);
+ return V8TestActiveDOMObject::wrapSlow(impl, isolate);
}
inline v8::Handle<v8::Value> toV8(TestActiveDOMObject* impl, v8::Isolate* isolate = 0)
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp 2012-04-26 20:34:09 UTC (rev 115350)
@@ -110,7 +110,7 @@
}
-v8::Handle<v8::Object> V8TestCustomNamedGetter::wrapSlow(PassRefPtr<TestCustomNamedGetter> impl)
+v8::Handle<v8::Object> V8TestCustomNamedGetter::wrapSlow(PassRefPtr<TestCustomNamedGetter> impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
V8Proxy* proxy = 0;
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestCustomNamedGetter.h (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestCustomNamedGetter.h 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestCustomNamedGetter.h 2012-04-26 20:34:09 UTC (rev 115350)
@@ -46,7 +46,7 @@
static v8::Handle<v8::Value> namedPropertyGetter(v8::Local<v8::String>, const v8::AccessorInfo&);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
private:
- static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestCustomNamedGetter>);
+ static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestCustomNamedGetter>, v8::Isolate*);
};
v8::Handle<v8::Object> V8TestCustomNamedGetter::wrap(TestCustomNamedGetter* impl, v8::Isolate* isolate)
@@ -54,7 +54,7 @@
v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
if (!wrapper.IsEmpty())
return wrapper;
- return V8TestCustomNamedGetter::wrapSlow(impl);
+ return V8TestCustomNamedGetter::wrapSlow(impl, isolate);
}
inline v8::Handle<v8::Value> toV8(TestCustomNamedGetter* impl, v8::Isolate* isolate = 0)
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.cpp (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.cpp 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.cpp 2012-04-26 20:34:09 UTC (rev 115350)
@@ -146,7 +146,7 @@
}
-v8::Handle<v8::Object> V8TestEventConstructor::wrapSlow(PassRefPtr<TestEventConstructor> impl)
+v8::Handle<v8::Object> V8TestEventConstructor::wrapSlow(PassRefPtr<TestEventConstructor> impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
V8Proxy* proxy = 0;
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.h (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.h 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.h 2012-04-26 20:34:09 UTC (rev 115350)
@@ -47,7 +47,7 @@
static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
private:
- static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestEventConstructor>);
+ static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestEventConstructor>, v8::Isolate*);
};
v8::Handle<v8::Object> V8TestEventConstructor::wrap(TestEventConstructor* impl, v8::Isolate* isolate)
@@ -55,7 +55,7 @@
v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
if (!wrapper.IsEmpty())
return wrapper;
- return V8TestEventConstructor::wrapSlow(impl);
+ return V8TestEventConstructor::wrapSlow(impl, isolate);
}
inline v8::Handle<v8::Value> toV8(TestEventConstructor* impl, v8::Isolate* isolate = 0)
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventTarget.cpp (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventTarget.cpp 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventTarget.cpp 2012-04-26 20:34:09 UTC (rev 115350)
@@ -173,7 +173,7 @@
}
-v8::Handle<v8::Object> V8TestEventTarget::wrapSlow(PassRefPtr<TestEventTarget> impl)
+v8::Handle<v8::Object> V8TestEventTarget::wrapSlow(PassRefPtr<TestEventTarget> impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
V8Proxy* proxy = 0;
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventTarget.h (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventTarget.h 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventTarget.h 2012-04-26 20:34:09 UTC (rev 115350)
@@ -48,7 +48,7 @@
static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCount + 0;
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1;
private:
- static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestEventTarget>);
+ static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestEventTarget>, v8::Isolate*);
};
v8::Handle<v8::Object> V8TestEventTarget::wrap(TestEventTarget* impl, v8::Isolate* isolate)
@@ -56,7 +56,7 @@
v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
if (!wrapper.IsEmpty())
return wrapper;
- return V8TestEventTarget::wrapSlow(impl);
+ return V8TestEventTarget::wrapSlow(impl, isolate);
}
inline v8::Handle<v8::Value> toV8(TestEventTarget* impl, v8::Isolate* isolate = 0)
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.cpp (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.cpp 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.cpp 2012-04-26 20:34:09 UTC (rev 115350)
@@ -305,7 +305,7 @@
return toNative(object);
}
-v8::Handle<v8::Object> V8TestInterface::wrapSlow(PassRefPtr<TestInterface> impl)
+v8::Handle<v8::Object> V8TestInterface::wrapSlow(PassRefPtr<TestInterface> impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
V8Proxy* proxy = 0;
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.h (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.h 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.h 2012-04-26 20:34:09 UTC (rev 115350)
@@ -50,7 +50,7 @@
static v8::Handle<v8::Value> namedPropertySetter(v8::Local<v8::String>, v8::Local<v8::Value>, const v8::AccessorInfo&);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
private:
- static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestInterface>);
+ static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestInterface>, v8::Isolate*);
};
v8::Handle<v8::Object> V8TestInterface::wrap(TestInterface* impl, v8::Isolate* isolate)
@@ -58,7 +58,7 @@
v8::Handle<v8::Object> wrapper = getActiveDOMObjectMap().get(impl);
if (!wrapper.IsEmpty())
return wrapper;
- return V8TestInterface::wrapSlow(impl);
+ return V8TestInterface::wrapSlow(impl, isolate);
}
inline v8::Handle<v8::Value> toV8(TestInterface* impl, v8::Isolate* isolate = 0)
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp 2012-04-26 20:34:09 UTC (rev 115350)
@@ -110,7 +110,7 @@
}
-v8::Handle<v8::Object> V8TestMediaQueryListListener::wrapSlow(PassRefPtr<TestMediaQueryListListener> impl)
+v8::Handle<v8::Object> V8TestMediaQueryListListener::wrapSlow(PassRefPtr<TestMediaQueryListListener> impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
V8Proxy* proxy = 0;
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.h (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.h 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.h 2012-04-26 20:34:09 UTC (rev 115350)
@@ -45,7 +45,7 @@
static WrapperTypeInfo info;
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
private:
- static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestMediaQueryListListener>);
+ static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestMediaQueryListListener>, v8::Isolate*);
};
v8::Handle<v8::Object> V8TestMediaQueryListListener::wrap(TestMediaQueryListListener* impl, v8::Isolate* isolate)
@@ -53,7 +53,7 @@
v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
if (!wrapper.IsEmpty())
return wrapper;
- return V8TestMediaQueryListListener::wrapSlow(impl);
+ return V8TestMediaQueryListListener::wrapSlow(impl, isolate);
}
inline v8::Handle<v8::Value> toV8(TestMediaQueryListListener* impl, v8::Isolate* isolate = 0)
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.cpp (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.cpp 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.cpp 2012-04-26 20:34:09 UTC (rev 115350)
@@ -154,7 +154,7 @@
return toNative(object);
}
-v8::Handle<v8::Object> V8TestNamedConstructor::wrapSlow(PassRefPtr<TestNamedConstructor> impl)
+v8::Handle<v8::Object> V8TestNamedConstructor::wrapSlow(PassRefPtr<TestNamedConstructor> impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
V8Proxy* proxy = 0;
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.h (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.h 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.h 2012-04-26 20:34:09 UTC (rev 115350)
@@ -52,7 +52,7 @@
static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
private:
- static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestNamedConstructor>);
+ static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestNamedConstructor>, v8::Isolate*);
};
v8::Handle<v8::Object> V8TestNamedConstructor::wrap(TestNamedConstructor* impl, v8::Isolate* isolate)
@@ -60,7 +60,7 @@
v8::Handle<v8::Object> wrapper = getActiveDOMObjectMap().get(impl);
if (!wrapper.IsEmpty())
return wrapper;
- return V8TestNamedConstructor::wrapSlow(impl);
+ return V8TestNamedConstructor::wrapSlow(impl, isolate);
}
inline v8::Handle<v8::Value> toV8(TestNamedConstructor* impl, v8::Isolate* isolate = 0)
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNode.cpp (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNode.cpp 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNode.cpp 2012-04-26 20:34:09 UTC (rev 115350)
@@ -108,7 +108,7 @@
}
-v8::Handle<v8::Object> V8TestNode::wrapSlow(PassRefPtr<TestNode> impl)
+v8::Handle<v8::Object> V8TestNode::wrapSlow(PassRefPtr<TestNode> impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
V8Proxy* proxy = V8Proxy::retrieve(impl->document()->frame());
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNode.h (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNode.h 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNode.h 2012-04-26 20:34:09 UTC (rev 115350)
@@ -46,7 +46,7 @@
static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
private:
- static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestNode>);
+ static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestNode>, v8::Isolate*);
};
v8::Handle<v8::Object> V8TestNode::wrap(TestNode* impl, v8::Isolate* isolate)
@@ -54,7 +54,7 @@
v8::Handle<v8::Object> wrapper = V8DOMWrapper::getCachedWrapper(impl);
if (!wrapper.IsEmpty())
return wrapper;
- return V8TestNode::wrapSlow(impl);
+ return V8TestNode::wrapSlow(impl, isolate);
}
inline v8::Handle<v8::Value> toV8(TestNode* impl, v8::Isolate* isolate = 0)
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.cpp (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.cpp 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.cpp 2012-04-26 20:34:09 UTC (rev 115350)
@@ -2389,7 +2389,7 @@
}
-v8::Handle<v8::Object> V8TestObj::wrapSlow(PassRefPtr<TestObj> impl)
+v8::Handle<v8::Object> V8TestObj::wrapSlow(PassRefPtr<TestObj> impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
V8Proxy* proxy = 0;
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.h (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.h 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.h 2012-04-26 20:34:09 UTC (rev 115350)
@@ -51,7 +51,7 @@
static void customAttrAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value>, const v8::AccessorInfo&);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
private:
- static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestObj>);
+ static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestObj>, v8::Isolate*);
};
v8::Handle<v8::Object> V8TestObj::wrap(TestObj* impl, v8::Isolate* isolate)
@@ -59,7 +59,7 @@
v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
if (!wrapper.IsEmpty())
return wrapper;
- return V8TestObj::wrapSlow(impl);
+ return V8TestObj::wrapSlow(impl, isolate);
}
inline v8::Handle<v8::Value> toV8(TestObj* impl, v8::Isolate* isolate = 0)
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp 2012-04-26 20:34:09 UTC (rev 115350)
@@ -293,7 +293,7 @@
}
-v8::Handle<v8::Object> V8TestSerializedScriptValueInterface::wrapSlow(PassRefPtr<TestSerializedScriptValueInterface> impl)
+v8::Handle<v8::Object> V8TestSerializedScriptValueInterface::wrapSlow(PassRefPtr<TestSerializedScriptValueInterface> impl, v8::Isolate* isolate)
{
v8::Handle<v8::Object> wrapper;
V8Proxy* proxy = 0;
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h (115349 => 115350)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h 2012-04-26 20:17:01 UTC (rev 115349)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h 2012-04-26 20:34:09 UTC (rev 115350)
@@ -48,7 +48,7 @@
static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
private:
- static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestSerializedScriptValueInterface>);
+ static v8::Handle<v8::Object> wrapSlow(PassRefPtr<TestSerializedScriptValueInterface>, v8::Isolate*);
};
v8::Handle<v8::Object> V8TestSerializedScriptValueInterface::wrap(TestSerializedScriptValueInterface* impl, v8::Isolate* isolate)
@@ -56,7 +56,7 @@
v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
if (!wrapper.IsEmpty())
return wrapper;
- return V8TestSerializedScriptValueInterface::wrapSlow(impl);
+ return V8TestSerializedScriptValueInterface::wrapSlow(impl, isolate);
}
inline v8::Handle<v8::Value> toV8(TestSerializedScriptValueInterface* impl, v8::Isolate* isolate = 0)