| Index: Source/bindings/tests/results/V8TestInterfaceConstructor2.h
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor2.h b/Source/bindings/tests/results/V8TestInterfaceConstructor2.h
|
| index 82007022a0477902d82ef00d6033afdb25c43f43..b1065533a8dc5e1354d9afd9729112676497da4f 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceConstructor2.h
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceConstructor2.h
|
| @@ -7,6 +7,7 @@
|
| #ifndef V8TestInterfaceConstructor2_h
|
| #define V8TestInterfaceConstructor2_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"
|
| @@ -22,21 +23,21 @@ public:
|
| static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
|
| static TestInterfaceConstructor2* toNative(v8::Handle<v8::Object> object)
|
| {
|
| - return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
|
| + return fromInternalPointer(blink::toInternalPointer(object));
|
| }
|
| static TestInterfaceConstructor2* 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>&);
|
| static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
|
| - static inline void* toInternalPointer(TestInterfaceConstructor2* impl)
|
| + static inline ScriptWrappableBase* toInternalPointer(TestInterfaceConstructor2* impl)
|
| {
|
| - return impl;
|
| + return reinterpret_cast<ScriptWrappableBase*>(static_cast<void*>(impl));
|
| }
|
|
|
| - static inline TestInterfaceConstructor2* fromInternalPointer(void* object)
|
| + static inline TestInterfaceConstructor2* fromInternalPointer(ScriptWrappableBase* internalPointer)
|
| {
|
| - return static_cast<TestInterfaceConstructor2*>(object);
|
| + return reinterpret_cast<TestInterfaceConstructor2*>(static_cast<void*>(internalPointer));
|
| }
|
| static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestInterfaceConstructor2*, v8::Isolate*) { }
|
| static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*) { }
|
|
|