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

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

Issue 952893003: Update from https://crrev.com/317530 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix gn for nacl 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 | « tools/clang/blink_gc_plugin/tests/traceimpl.h ('k') | tools/clang/blink_gc_plugin/tests/traceimpl_error.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 61d8560ea68f37523d416622eb2ee2d11991bd7a..c8849ccf780b8da177754a5f46fac0ebdbd6cdba 100644
--- a/tools/clang/blink_gc_plugin/tests/traceimpl.cpp
+++ b/tools/clang/blink_gc_plugin/tests/traceimpl.cpp
@@ -12,6 +12,17 @@ void TraceImplExtern::trace(Visitor* visitor) {
template <typename VisitorDispatcher>
inline void TraceImplExtern::traceImpl(VisitorDispatcher visitor) {
- visitor->trace(m_x);
+ 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_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698