Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index f605f7a4a676c2945331d6fa1ea6ca82d5f3e9bb..4a13e2ca265cf58acb427da12bb93b08fc5d708a 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -2479,6 +2479,11 @@ v8::Handle<v8::Object> Node::wrap(v8::Handle<v8::Object> creationContext, v8::Is |
return wrapper; |
wrapperType->installConditionallyEnabledProperties(wrapper, isolate); |
+ return associateWithWrapper(wrapperType, wrapper, isolate); |
+} |
+ |
+v8::Handle<v8::Object> Node::associateWithWrapper(const WrapperTypeInfo* wrapperType, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate) |
+{ |
wrapperType->refObject(toScriptWrappableBase()); |
V8DOMWrapper::associateObjectWithWrapperNonTemplate(this, wrapperType, wrapper, isolate); |
return wrapper; |