| Index: Source/bindings/core/v8/ScriptWrappable.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptWrappable.cpp b/Source/bindings/core/v8/ScriptWrappable.cpp
|
| index faf703310325bcc36daa3a3bf80fd83a5e427bf9..1f823f5084460f112283972c5580df04e22d03a7 100644
|
| --- a/Source/bindings/core/v8/ScriptWrappable.cpp
|
| +++ b/Source/bindings/core/v8/ScriptWrappable.cpp
|
| @@ -30,12 +30,12 @@ v8::Handle<v8::Object> ScriptWrappable::wrap(v8::Handle<v8::Object> creationCont
|
|
|
| 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;
|
| }
|
|
|