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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.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/V8TestInterface.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.h b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.h
index c97e96d1d71a93ef1bdc58b5c94bc00b7e779b93..7d368b94b5e3ff18a30d17485c83a1107496104c 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.h
@@ -40,15 +40,15 @@ public:
}
CORE_EXPORT static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
CORE_EXPORT static WrapperTypeInfo wrapperTypeInfo;
- static HeapObjectHeader* getHeapObjectHeader(ScriptWrappable* scriptWrappable)
- {
- return HeapObjectHeader::fromPayload(scriptWrappable->toImpl<TestInterfaceImplementation>());
- }
template<typename VisitorDispatcher>
static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
{
visitor->trace(scriptWrappable->toImpl<TestInterfaceImplementation>());
}
+ static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable)
+ {
+ visitor->traceWrappers(scriptWrappable->toImpl<TestInterfaceImplementation>());
+ }
static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persistent<v8::Object>&);
static ActiveScriptWrappable* toActiveScriptWrappable(v8::Local<v8::Object>);
static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&);

Powered by Google App Engine
This is Rietveld 408576698