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 ed76f1a4bad1da2e850f1598e36efc297a67dfd6..37cecd0df992115833730fdc32a5ff56afae230b 100644 |
--- a/tools/clang/blink_gc_plugin/Config.h |
+++ b/tools/clang/blink_gc_plugin/Config.h |
@@ -159,7 +159,9 @@ class Config { |
IsIgnoreAnnotated(decl); |
} |
- static bool IsVisitor(const std::string& name) { return name == "Visitor"; } |
+ static bool IsVisitor(const std::string& name) { |
+ return name == "Visitor" || name == "VisitorHelper"; |
+ } |
static bool IsTraceMethod(clang::FunctionDecl* method, |
bool* isTraceAfterDispatch = 0) { |