| Index: Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h b/Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h
|
| index 6810eb9a133ae736ed89be19c3a2de6c92e89b12..e209926aa4cfd7ff088ac5f8b8a20cf1a9232fdd 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h
|
| @@ -33,6 +33,7 @@
|
| #ifndef V8TestInterfaceWillBeGarbageCollected_h
|
| #define V8TestInterfaceWillBeGarbageCollected_h
|
|
|
| +#include "V8EventTarget.h"
|
| #include "bindings/tests/idls/TestInterfaceWillBeGarbageCollected.h"
|
| #include "bindings/v8/V8Binding.h"
|
| #include "bindings/v8/V8DOMWrapper.h"
|
| @@ -51,17 +52,19 @@ public:
|
| }
|
| static const WrapperTypeInfo wrapperTypeInfo;
|
| static void derefObject(void*);
|
| + static EventTarget* toEventTarget(v8::Handle<v8::Object>);
|
| static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
|
| - static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 0;
|
| - static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1;
|
| + static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCount + 0;
|
| + static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 1;
|
| + static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 2;
|
| static inline void* toInternalPointer(TestInterfaceWillBeGarbageCollected* impl)
|
| {
|
| - return impl;
|
| + return V8EventTarget::toInternalPointer(impl);
|
| }
|
|
|
| static inline TestInterfaceWillBeGarbageCollected* fromInternalPointer(void* object)
|
| {
|
| - return static_cast<TestInterfaceWillBeGarbageCollected*>(object);
|
| + return static_cast<TestInterfaceWillBeGarbageCollected*>(V8EventTarget::fromInternalPointer(object));
|
| }
|
| static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestInterfaceWillBeGarbageCollected*, v8::Isolate*) { }
|
| static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*) { }
|
|
|