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

Unified Diff: Source/bindings/templates/interface.h

Issue 940293002: InlinedVisitor: Migrate templated classes in bindings/ manually to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove line Created 5 years, 10 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
« no previous file with comments | « Source/bindings/core/v8/ScriptPromiseProperty.h ('k') | Source/bindings/tests/results/core/V8ArrayBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/interface.h
diff --git a/Source/bindings/templates/interface.h b/Source/bindings/templates/interface.h
index 83f52ba40a45c91c1a653b47ee0ff1e86d161ee2..a7b82e597a8b0beda7874e9a9aacc3a7263a5d30 100644
--- a/Source/bindings/templates/interface.h
+++ b/Source/bindings/templates/interface.h
@@ -61,7 +61,8 @@ public:
{% endif %}
static void refObject(ScriptWrappable*);
static void derefObject(ScriptWrappable*);
- static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable)
+ template<typename VisitorDispatcher>
+ static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
{
{% if gc_type == 'GarbageCollectedObject' %}
visitor->trace(scriptWrappable->toImpl<{{cpp_class}}>());
« no previous file with comments | « Source/bindings/core/v8/ScriptPromiseProperty.h ('k') | Source/bindings/tests/results/core/V8ArrayBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698