Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index e65c7527770632249dd5515cd258a510d45c34a6..8a5ba2da7e6e62757bd47dfe251fa94fb0d8830e 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -2475,12 +2475,12 @@ v8::Handle<v8::Object> Node::wrap(v8::Handle<v8::Object> creationContext, v8::Is |
const WrapperTypeInfo* wrapperType = wrapperTypeInfo(); |
- v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, wrapperType, toInternalPointer(), isolate); |
+ v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, wrapperType, toScriptWrappableBase(), isolate); |
if (UNLIKELY(wrapper.IsEmpty())) |
return wrapper; |
wrapperType->installConditionallyEnabledProperties(wrapper, isolate); |
- wrapperType->refObject(toInternalPointer()); |
+ wrapperType->refObject(toScriptWrappableBase()); |
V8DOMWrapper::associateObjectWithWrapperNonTemplate(this, wrapperType, wrapper, isolate); |
return wrapper; |
} |