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

Unified Diff: tools/clang/blink_gc_plugin/tests/legacy_naming/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/legacy_naming/traceimpl_derived_from_templated_base.h
diff --git a/tools/clang/blink_gc_plugin/tests/legacy_naming/traceimpl_derived_from_templated_base.h b/tools/clang/blink_gc_plugin/tests/legacy_naming/traceimpl_derived_from_templated_base.h
index 21b9978970c9250a37a29882e794a254a583b864..b3825459096aa0c8902c7be071cec4ceb77f8ecc 100644
--- a/tools/clang/blink_gc_plugin/tests/legacy_naming/traceimpl_derived_from_templated_base.h
+++ b/tools/clang/blink_gc_plugin/tests/legacy_naming/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_;

Powered by Google App Engine
This is Rietveld 408576698