| Index: Source/bindings/tests/results/V8TestInterfaceEventConstructor.h
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceEventConstructor.h b/Source/bindings/tests/results/V8TestInterfaceEventConstructor.h
|
| index 65120339db18890d43707a74a55e94ada4cb5ff8..76507c98ccaebf08632cacb5511872809d504a5c 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceEventConstructor.h
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceEventConstructor.h
|
| @@ -7,6 +7,7 @@
|
| #ifndef V8TestInterfaceEventConstructor_h
|
| #define V8TestInterfaceEventConstructor_h
|
|
|
| +#include "bindings/core/v8/ScriptWrappable.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8DOMWrapper.h"
|
| #include "bindings/core/v8/WrapperTypeInfo.h"
|
| @@ -24,11 +25,11 @@ public:
|
| static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
|
| static TestInterfaceEventConstructor* toNative(v8::Handle<v8::Object> object)
|
| {
|
| - return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
|
| + return fromInternalPointer(blink::toInternalPointer(object));
|
| }
|
| static TestInterfaceEventConstructor* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
|
| static const WrapperTypeInfo wrapperTypeInfo;
|
| - static void derefObject(void*);
|
| + static void derefObject(ScriptWrappableBase* internalPointer);
|
| static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
|
| #if ENABLE(OILPAN)
|
| static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 0;
|
| @@ -36,14 +37,14 @@ public:
|
| #else
|
| static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
|
| #endif
|
| - static inline void* toInternalPointer(TestInterfaceEventConstructor* impl)
|
| + static inline ScriptWrappableBase* toInternalPointer(TestInterfaceEventConstructor* impl)
|
| {
|
| return V8Event::toInternalPointer(impl);
|
| }
|
|
|
| - static inline TestInterfaceEventConstructor* fromInternalPointer(void* object)
|
| + static inline TestInterfaceEventConstructor* fromInternalPointer(ScriptWrappableBase* internalPointer)
|
| {
|
| - return static_cast<TestInterfaceEventConstructor*>(V8Event::fromInternalPointer(object));
|
| + return static_cast<TestInterfaceEventConstructor*>(V8Event::fromInternalPointer(internalPointer));
|
| }
|
| static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestInterfaceEventConstructor*, v8::Isolate*) { }
|
| static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*) { }
|
|
|