| 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 765e32ae8db7fe933d1b6cc7cbd50fa6e42edf02..ad226f156c2618b3c449ec2890fc65dfca9a82a6 100644
|
| --- a/tools/clang/blink_gc_plugin/Config.h
|
| +++ b/tools/clang/blink_gc_plugin/Config.h
|
| @@ -91,6 +91,14 @@ class Config {
|
| name == "PersistentHeapHashMap";
|
| }
|
|
|
| + // Following http://crrev.com/369633033 (Blink r177436),
|
| + // ignore WebCore::ScriptWrappable's destructor.
|
| + // FIXME: remove when its non-Oilpan destructor is removed.
|
| + static bool HasIgnorableDestructor(const std::string& ns,
|
| + const std::string& name) {
|
| + return ns == "WebCore" && name == "ScriptWrappable";
|
| + }
|
| +
|
| // Assumes name is a valid collection name.
|
| static size_t CollectionDimension(const std::string& name) {
|
| return (IsHashMap(name) || name == "pair") ? 2 : 1;
|
|
|