| Index: tools/clang/blink_gc_plugin/RecordInfo.cpp
|
| diff --git a/tools/clang/blink_gc_plugin/RecordInfo.cpp b/tools/clang/blink_gc_plugin/RecordInfo.cpp
|
| index 46b8606a344d06d92c71eafd0cc3c2c5608021da..63967cdcee45b056f410eae5fc276146aaac5fdc 100644
|
| --- a/tools/clang/blink_gc_plugin/RecordInfo.cpp
|
| +++ b/tools/clang/blink_gc_plugin/RecordInfo.cpp
|
| @@ -287,7 +287,7 @@ bool RecordInfo::RequiresTraceMethod() {
|
| if (bases_with_trace > 1)
|
| return true;
|
| GetFields();
|
| - return fields_need_tracing_.IsNeeded();
|
| + return fields_need_tracing_.IsNeeded() || GetTraceMethod();
|
| }
|
|
|
| // Get the actual tracing method (ie, can be traceAfterDispatch if there is a
|
|
|