| Index: tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| diff --git a/tools/clang/blink_gc_plugin/tests/heap/stubs.h b/tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| index a9e64f589276decbe1f013a38d575294ef60ca84..40ced37fa76d90eb95b3b96f18594a4e1ff38f48 100644
|
| --- a/tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| +++ b/tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| @@ -218,6 +218,15 @@ class GarbageCollectedMixin {
|
| virtual bool isAlive(Visitor*) const = 0;
|
| };
|
|
|
| +// WebCore::ScriptWrappable receives special treatment
|
| +// so as to allow it to be used together with GarbageCollected<T>,
|
| +// even when its user-declared destructor is provided.
|
| +// As it is with Oilpan disabled.
|
| +class ScriptWrappable {
|
| +public:
|
| + ~ScriptWrappable() { /* user-declared, thus, non-trivial */ }
|
| +};
|
| +
|
| }
|
|
|
| namespace WTF {
|
|
|