Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h

Issue 651713002: Oilpan: DOM wrappers don't need to keep persistent handles (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h b/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
index 49751a8ae3b505471735bdfb59871eb88aa0fdd2..f4ca35155ddfd5133a66c2efe09eccb7d4bdcbd7 100644
--- a/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
+++ b/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
@@ -30,12 +30,14 @@ 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)
+ {
+ visitor->trace(internalPointer->toImpl<TestInterfaceGarbageCollected>());
+ }
static EventTarget* toEventTarget(v8::Handle<v8::Object>);
static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCount + 0;
- static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 1;
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1 + 1;
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1;
static inline ScriptWrappableBase* toScriptWrappableBase(TestInterfaceGarbageCollected* impl)
{
return impl->toScriptWrappableBase();

Powered by Google App Engine
This is Rietveld 408576698