| Index: Source/bindings/tests/results/V8TestInterface.h
|
| diff --git a/Source/bindings/tests/results/V8TestInterface.h b/Source/bindings/tests/results/V8TestInterface.h
|
| index cb7bd591fa196fad13e3a6796d4525cde8138ab9..46e2e3fa5e9c4f1a3811efcfd1a929e56c3d7b4d 100644
|
| --- a/Source/bindings/tests/results/V8TestInterface.h
|
| +++ b/Source/bindings/tests/results/V8TestInterface.h
|
| @@ -8,6 +8,7 @@
|
| #define V8TestInterface_h
|
|
|
| #if ENABLE(CONDITION)
|
| +#include "bindings/core/v8/ScriptWrappable.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8DOMWrapper.h"
|
| #include "bindings/core/v8/WrapperTypeInfo.h"
|
| @@ -31,24 +32,24 @@ public:
|
| static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
|
| static TestInterfaceImplementation* toNative(v8::Handle<v8::Object> object)
|
| {
|
| - return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
|
| + return fromInternalPointer(blink::toInternalPointer(object));
|
| }
|
| static TestInterfaceImplementation* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
|
| static const WrapperTypeInfo wrapperTypeInfo;
|
| - static void derefObject(void*);
|
| - static void visitDOMWrapper(void*, const v8::Persistent<v8::Object>&, v8::Isolate*);
|
| + static void derefObject(ScriptWrappableBase* internalPointer);
|
| + static void visitDOMWrapper(ScriptWrappableBase* internalPointer, const v8::Persistent<v8::Object>&, v8::Isolate*);
|
| static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>);
|
| static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&);
|
| static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&);
|
| static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
|
| - static inline void* toInternalPointer(TestInterfaceImplementation* impl)
|
| + static inline ScriptWrappableBase* toInternalPointer(TestInterfaceImplementation* impl)
|
| {
|
| return V8TestInterfaceEmpty::toInternalPointer(impl);
|
| }
|
|
|
| - static inline TestInterfaceImplementation* fromInternalPointer(void* object)
|
| + static inline TestInterfaceImplementation* fromInternalPointer(ScriptWrappableBase* internalPointer)
|
| {
|
| - return static_cast<TestInterfaceImplementation*>(V8TestInterfaceEmpty::fromInternalPointer(object));
|
| + return static_cast<TestInterfaceImplementation*>(V8TestInterfaceEmpty::fromInternalPointer(internalPointer));
|
| }
|
| static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestInterfaceImplementation*, v8::Isolate*);
|
| static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*);
|
|
|