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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.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/V8TestConstants.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.h b/third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.h
index 7bf1606b291830f847143527b581a3ae93f3e223..35228043853a816f61e822252d2cf9c88efd3376 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.h
@@ -34,8 +34,7 @@ class V8TestConstants {
}
CORE_EXPORT static TestConstants* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
- template<typename VisitorDispatcher>
- static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) {
+ static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) {
visitor->trace(scriptWrappable->toImpl<TestConstants>());
}
static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable) {

Powered by Google App Engine
This is Rietveld 408576698