Chromium Code Reviews| 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 1d4a5cd5f5ef305ffc994eefe84d0e56bd506d2c..98dc943f3aac952e1be10892b35b9203881685f0 100644 |
| --- a/tools/clang/blink_gc_plugin/tests/heap/stubs.h |
| +++ b/tools/clang/blink_gc_plugin/tests/heap/stubs.h |
| @@ -74,10 +74,11 @@ using namespace WTF; |
| private: \ |
| void* operator new(size_t) = delete; |
|
Mads Ager (chromium)
2014/03/20 10:32:29
Just to play it safe, maybe you should add it here
zerny-chromium
2014/03/20 15:14:20
Done.
|
| -#define STACK_ALLOCATED() \ |
| - private: \ |
| - __attribute__((annotate("blink_stack_allocated"))) \ |
| - void* operator new(size_t) = delete; |
| +#define STACK_ALLOCATED() \ |
| + private: \ |
| + __attribute__((annotate("blink_stack_allocated"))) \ |
| + void* operator new(size_t) = delete; \ |
| + void* operator new(size_t, void*) = delete; |
| #define GC_PLUGIN_IGNORE(bug) \ |
| __attribute__((annotate("blink_gc_plugin_ignore"))) |