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

Unified Diff: tools/clang/blink_gc_plugin/tests/traceimpl_derived_from_templated_base.h

Issue 2655933002: blink_gc_plugin: retire overloaded traceImpl detection and handling. (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: tools/clang/blink_gc_plugin/tests/traceimpl_derived_from_templated_base.h
diff --git a/tools/clang/blink_gc_plugin/tests/traceimpl_derived_from_templated_base.h b/tools/clang/blink_gc_plugin/tests/traceimpl_derived_from_templated_base.h
index e5ebdd5e628463b409ee6ba851b11bc2a5c1a393..ae3b5098e42d462b6131ac44f595d5368592fe63 100644
--- a/tools/clang/blink_gc_plugin/tests/traceimpl_derived_from_templated_base.h
+++ b/tools/clang/blink_gc_plugin/tests/traceimpl_derived_from_templated_base.h
@@ -18,12 +18,7 @@ template <int Y>
class TraceImplTemplatedBase
: public GarbageCollected<TraceImplTemplatedBase<Y> > {
public:
- void Trace(Visitor* visitor) { TraceImpl(visitor); }
-
- template <typename VisitorDispatcher>
- void TraceImpl(VisitorDispatcher visitor) {
- visitor->Trace(x_);
- }
+ void Trace(Visitor* visitor) { visitor->Trace(x_); }
private:
Member<X> x_;
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/traceimpl_dependent_scope.txt ('k') | tools/clang/blink_gc_plugin/tests/traceimpl_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698