Index: Source/bindings/core/v8/ScriptWrappable.cpp |
diff --git a/Source/bindings/core/v8/ScriptWrappable.cpp b/Source/bindings/core/v8/ScriptWrappable.cpp |
index 1f823f5084460f112283972c5580df04e22d03a7..b925f08938d23fb0a27eed53a033739d050b5179 100644 |
--- a/Source/bindings/core/v8/ScriptWrappable.cpp |
+++ b/Source/bindings/core/v8/ScriptWrappable.cpp |
@@ -35,6 +35,11 @@ v8::Handle<v8::Object> ScriptWrappable::wrap(v8::Handle<v8::Object> creationCont |
return wrapper; |
wrapperType->installConditionallyEnabledProperties(wrapper, isolate); |
+ return associateWithWrapper(wrapperType, wrapper, isolate); |
+} |
+ |
+v8::Handle<v8::Object> ScriptWrappable::associateWithWrapper(const WrapperTypeInfo* wrapperType, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate) |
+{ |
wrapperType->refObject(toScriptWrappableBase()); |
V8DOMWrapper::associateObjectWithWrapperNonTemplate(this, wrapperType, wrapper, isolate); |
return wrapper; |