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 28af4bc098c5aa62af72bed93d51b7b8f0cb722c..771d3f86acb495799bd8d4e27438d46416df2f9a 100644 |
--- a/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp |
+++ b/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp |
@@ -181,7 +181,7 @@ void BlinkGCPluginConsumer::CheckClass(RecordInfo* info) { |
return; |
if (CXXMethodDecl* trace = info->GetTraceMethod()) { |
- if (options_.warn_stack_allocated_trace_method && info->IsStackAllocated()) |
+ if (info->IsStackAllocated()) |
reporter_.TraceMethodForStackAllocatedClass(info, trace); |
if (trace->isPure()) |
reporter_.ClassDeclaresPureVirtualTrace(info, trace); |