| Index: Source/bindings/tests/results/V8SVGTestInterface.h
|
| diff --git a/Source/bindings/tests/results/V8SVGTestInterface.h b/Source/bindings/tests/results/V8SVGTestInterface.h
|
| index d25c183fed9266e82c50f50897233abd55c8dcac..d3fee559e2fa477ba31c90aacebbb16c15d89b99 100644
|
| --- a/Source/bindings/tests/results/V8SVGTestInterface.h
|
| +++ b/Source/bindings/tests/results/V8SVGTestInterface.h
|
| @@ -7,6 +7,7 @@
|
| #ifndef V8SVGTestInterface_h
|
| #define V8SVGTestInterface_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,20 +23,20 @@ public:
|
| static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
|
| static SVGTestInterface* toNative(v8::Handle<v8::Object> object)
|
| {
|
| - return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
|
| + return fromInternalPointer(blink::toInternalPointer(object));
|
| }
|
| static SVGTestInterface* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
|
| static const WrapperTypeInfo wrapperTypeInfo;
|
| - static void derefObject(void*);
|
| + static void derefObject(ScriptWrappableBase* internalPointer);
|
| static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
|
| - static inline void* toInternalPointer(SVGTestInterface* impl)
|
| + static inline ScriptWrappableBase* toInternalPointer(SVGTestInterface* impl)
|
| {
|
| - return impl;
|
| + return reinterpret_cast<ScriptWrappableBase*>(static_cast<void*>(impl));
|
| }
|
|
|
| - static inline SVGTestInterface* fromInternalPointer(void* object)
|
| + static inline SVGTestInterface* fromInternalPointer(ScriptWrappableBase* internalPointer)
|
| {
|
| - return static_cast<SVGTestInterface*>(object);
|
| + return reinterpret_cast<SVGTestInterface*>(static_cast<void*>(internalPointer));
|
| }
|
| static void installPerContextEnabledProperties(v8::Handle<v8::Object>, SVGTestInterface*, v8::Isolate*) { }
|
| static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*) { }
|
|
|