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

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

Issue 2084513002: Store raw pointers in ScriptWrappableVisitor markind deque (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 4 years, 6 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: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
index 1444b00bde52651acd70f3bb2eec3a6a6be13ec8..1fd97f58d5ed8531ff6c1a5348086e89c1b8eb3e 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
@@ -31,15 +31,15 @@ public:
}
CORE_EXPORT static TestInterfaceGarbageCollected* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
- static HeapObjectHeader* getHeapObjectHeader(ScriptWrappable* scriptWrappable)
- {
- return HeapObjectHeader::fromPayload(scriptWrappable->toImpl<TestInterfaceGarbageCollected>());
- }
template<typename VisitorDispatcher>
static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
{
visitor->trace(scriptWrappable->toImpl<TestInterfaceGarbageCollected>());
}
+ static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable)
+ {
+ visitor->traceWrappers(scriptWrappable->toImpl<TestInterfaceGarbageCollected>());
+ }
static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCount + 0;
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1;

Powered by Google App Engine
This is Rietveld 408576698