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

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

Issue 2653153003: Emit trace(Visitor*) rather than a templated trace(). (Closed)
Patch Set: Created 3 years, 11 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 72cb020fb7b45cbe964c14e1032580dc97d720d1..addf6fab33be9d1a5f7c731ff7700e035a44e09d 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.h
@@ -36,8 +36,7 @@ class V8TestInterface {
}
CORE_EXPORT static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
CORE_EXPORT static WrapperTypeInfo wrapperTypeInfo;
- template<typename VisitorDispatcher>
- static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) {
+ static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) {
visitor->trace(scriptWrappable->toImpl<TestInterfaceImplementation>());
}
static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable) {

Powered by Google App Engine
This is Rietveld 408576698