| 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 ca2b2595177117d63cd4b28d093b071d6d1f8e8a..a9e64f589276decbe1f013a38d575294ef60ca84 100644
|
| --- a/tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| +++ b/tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| @@ -7,6 +7,14 @@
|
|
|
| #include "stddef.h"
|
|
|
| +#define WTF_MAKE_FAST_ALLOCATED \
|
| + public: \
|
| + void* operator new(size_t, void* p); \
|
| + void* operator new[](size_t, void* p); \
|
| + void* operator new(size_t size); \
|
| + private: \
|
| + typedef int __thisIsHereToForceASemicolonAfterThisMacro
|
| +
|
| namespace WTF {
|
|
|
| template<typename T> class RefCounted { };
|
|
|