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

Unified Diff: tools/clang/blink_gc_plugin/tests/traceimpl.cpp

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.cpp
diff --git a/tools/clang/blink_gc_plugin/tests/traceimpl.cpp b/tools/clang/blink_gc_plugin/tests/traceimpl.cpp
index fe28a0b4b65218844074e9677ffbbde7877fb8b5..84e71208ded99af8c9aae21968376e957ac4d172 100644
--- a/tools/clang/blink_gc_plugin/tests/traceimpl.cpp
+++ b/tools/clang/blink_gc_plugin/tests/traceimpl.cpp
@@ -7,20 +7,10 @@
namespace blink {
void TraceImplExtern::Trace(Visitor* visitor) {
- TraceImpl(visitor);
-}
-
-template <typename VisitorDispatcher>
-inline void TraceImplExtern::TraceImpl(VisitorDispatcher visitor) {
visitor->Trace(x_);
}
void TraceImplBaseExtern::Trace(Visitor* visitor) {
- TraceImpl(visitor);
-}
-
-template <typename VisitorDispatcher>
-inline void TraceImplBaseExtern::TraceImpl(VisitorDispatcher visitor) {
visitor->Trace(x_);
Base::Trace(visitor);
}
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/traceimpl.h ('k') | tools/clang/blink_gc_plugin/tests/traceimpl_dependent_scope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698