Index: Source/bindings/tests/results/core/V8TestNode.h |
diff --git a/Source/bindings/tests/results/core/V8TestNode.h b/Source/bindings/tests/results/core/V8TestNode.h |
index b20f5ea24698a71c67733b411b0845e1dd249b5d..0ff8c3f72d412a93382acf648531b48ed8079df9 100644 |
--- a/Source/bindings/tests/results/core/V8TestNode.h |
+++ b/Source/bindings/tests/results/core/V8TestNode.h |
@@ -30,15 +30,15 @@ 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<TestNode>()); |
+#endif |
+ } |
static EventTarget* toEventTarget(v8::Handle<v8::Object>); |
static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
-#if ENABLE(OILPAN) |
- static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 0; |
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 + 1; |
-#else |
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; |
-#endif |
static inline ScriptWrappableBase* toScriptWrappableBase(TestNode* impl) |
{ |
return impl->toScriptWrappableBase(); |