| Index: tools/clang/blink_gc_plugin/Config.h
|
| diff --git a/tools/clang/blink_gc_plugin/Config.h b/tools/clang/blink_gc_plugin/Config.h
|
| index 9dc97798821919d93237a56d17e07a44b514d12e..48f611b3f442eb491d4a2bd9d75d2fe54dfe41e8 100644
|
| --- a/tools/clang/blink_gc_plugin/Config.h
|
| +++ b/tools/clang/blink_gc_plugin/Config.h
|
| @@ -17,6 +17,7 @@ const char kFinalizeName[] = "finalizeGarbageCollectedObject";
|
| const char kTraceAfterDispatchName[] = "traceAfterDispatch";
|
| const char kRegisterWeakMembersName[] = "registerWeakMembers";
|
| const char kHeapAllocatorName[] = "HeapAllocator";
|
| +const char kTraceIfNeededName[] = "TraceIfNeeded";
|
|
|
| class Config {
|
| public:
|
| @@ -139,7 +140,7 @@ class Config {
|
|
|
| static bool IsVisitor(const std::string& name) { return name == "Visitor"; }
|
|
|
| - static bool IsTraceMethod(clang::CXXMethodDecl* method,
|
| + static bool IsTraceMethod(clang::FunctionDecl* method,
|
| bool* isTraceAfterDispatch = 0) {
|
| if (method->getNumParams() != 1)
|
| return false;
|
|
|