Index: Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.h |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.h b/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.h |
index 5214d6263e4a530262f99d7cb29e24aef52dc592..4e33142254b89bd49ca4f8cf48f28a5e78aac67c 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.h |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.h |
@@ -36,16 +36,16 @@ public: |
static const WrapperTypeInfo wrapperTypeInfo; |
static void refObject(ScriptWrappableBase* internalPointer); |
static void derefObject(ScriptWrappableBase* internalPointer); |
- static WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* internalPointer); |
+ static void trace(Visitor* visitor, ScriptWrappableBase* internalPointer) |
+ { |
+#if ENABLE(OILPAN) |
+ visitor->trace(internalPointer->toImpl<TestInterfaceWillBeGarbageCollected>()); |
+#endif |
+ } |
static EventTarget* toEventTarget(v8::Handle<v8::Object>); |
static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCount + 0; |
-#if ENABLE(OILPAN) |
- static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 1; |
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1 + 1; |
-#else |
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1; |
-#endif |
static inline ScriptWrappableBase* toScriptWrappableBase(TestInterfaceWillBeGarbageCollected* impl) |
{ |
return impl->toScriptWrappableBase(); |