Index: tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp |
diff --git a/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp b/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp |
index dd73f23e1661ab03f70e0c760021c2b5296b02e5..473ad204e33b40a77239668f7cb26ebdabc81608 100644 |
--- a/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp |
+++ b/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp |
@@ -384,6 +384,8 @@ class CheckTraceVisitor : public RecursiveASTVisitor<CheckTraceVisitor> { |
CXXRecordDecl* decl = base->getPointeeType()->getAsCXXRecordDecl(); |
if (decl) |
CheckTraceFieldCall(expr->getMemberName().getAsString(), decl, arg); |
+ if (expr->getMemberName().getAsString() == kTraceImplName) |
+ delegates_to_traceimpl_ = true; |
return true; |
} |