Index: Source/bindings/tests/results/core/V8TestInterfaceDocument.h |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceDocument.h b/Source/bindings/tests/results/core/V8TestInterfaceDocument.h |
index c0a56a5d424bea57e47d54be9d2fe7e7a748e96d..7aa93016e6d57b6ffd78e2be7e2ec3e24012542a 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceDocument.h |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceDocument.h |
@@ -30,14 +30,14 @@ public: |
static const WrapperTypeInfo wrapperTypeInfo; |
static void refObject(ScriptWrappableBase* internalPointer); |
static void derefObject(ScriptWrappableBase* internalPointer); |
- static WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* internalPointer); |
- static EventTarget* toEventTarget(v8::Handle<v8::Object>); |
+ static void trace(Visitor* visitor, ScriptWrappableBase* internalPointer) |
+ { |
#if ENABLE(OILPAN) |
- static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 0; |
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 + 1; |
-#else |
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; |
+ visitor->trace(internalPointer->toImpl<TestInterfaceDocument>()); |
#endif |
+ } |
+ static EventTarget* toEventTarget(v8::Handle<v8::Object>); |
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; |
static inline ScriptWrappableBase* toScriptWrappableBase(TestInterfaceDocument* impl) |
{ |
return impl->toScriptWrappableBase(); |