| Index: Source/bindings/core/v8/WrapperTypeInfo.h
|
| diff --git a/Source/bindings/core/v8/WrapperTypeInfo.h b/Source/bindings/core/v8/WrapperTypeInfo.h
|
| index 49715ac4b9f6e93833ae9d0e9f6b8a1a536561e3..d4a9acc5859bbdf7805ed8cd2aed6a6aa38a6968 100644
|
| --- a/Source/bindings/core/v8/WrapperTypeInfo.h
|
| +++ b/Source/bindings/core/v8/WrapperTypeInfo.h
|
| @@ -208,6 +208,11 @@ inline T* getInternalField(v8::Handle<v8::Object> wrapper)
|
| return static_cast<T*>(wrapper->GetAlignedPointerFromInternalField(offset));
|
| }
|
|
|
| +inline ScriptWrappableBase* toScriptWrappableBase(const v8::Persistent<v8::Object>& wrapper)
|
| +{
|
| + return getInternalField<ScriptWrappableBase, v8DOMWrapperObjectIndex>(wrapper);
|
| +}
|
| +
|
| inline ScriptWrappableBase* toScriptWrappableBase(v8::Handle<v8::Object> wrapper)
|
| {
|
| return getInternalField<ScriptWrappableBase, v8DOMWrapperObjectIndex>(wrapper);
|
|
|