Index: tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp |
diff --git a/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp b/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp |
index c3e277a7ae16c83f85eaba86dd7c772e4181c2f9..c15b8e8f2bb7e9454b7482e0f08a730cdec83055 100644 |
--- a/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp |
+++ b/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp |
@@ -528,7 +528,6 @@ void BlinkGCPluginConsumer::CheckTraceOrDispatchMethod( |
CXXMethodDecl* method) { |
Config::TraceMethodType trace_type = Config::GetTraceMethodType(method); |
if (trace_type == Config::TRACE_AFTER_DISPATCH_METHOD || |
- trace_type == Config::TRACE_AFTER_DISPATCH_IMPL_METHOD || |
!parent->GetTraceDispatchMethod()) { |
CheckTraceMethod(parent, method, trace_type); |
} |
@@ -549,12 +548,6 @@ void BlinkGCPluginConsumer::CheckTraceMethod( |
CheckTraceVisitor visitor(trace, parent, &cache_); |
visitor.TraverseCXXMethodDecl(trace); |
- // Skip reporting if this trace method is a just delegate to |
- // traceImpl (or traceAfterDispatchImpl) method. We will report on |
- // CheckTraceMethod on traceImpl method. |
- if (visitor.delegates_to_traceimpl()) |
- return; |
- |
for (auto& base : parent->GetBases()) |
if (!base.second.IsProperlyTraced()) |
reporter_.BaseRequiresTracing(parent, trace, base.first); |