| Index: third_party/WebKit/Source/wtf/Allocator.h
|
| diff --git a/third_party/WebKit/Source/wtf/Allocator.h b/third_party/WebKit/Source/wtf/Allocator.h
|
| index 5aacf776cee91fdc08040ce0a390330840d003ab..e829ef2037edca767b69f2a00d5ad47e4af5b540 100644
|
| --- a/third_party/WebKit/Source/wtf/Allocator.h
|
| +++ b/third_party/WebKit/Source/wtf/Allocator.h
|
| @@ -82,6 +82,13 @@ namespace WTF {
|
| #define STACK_ALLOCATED() DISALLOW_NEW()
|
| #endif
|
|
|
| +#if COMPILER(CLANG)
|
| +#define STATIC_ALLOCATED_SINGLETON() \
|
| + __attribute__((annotate("blink_gc_singleton_type")))
|
| +#else
|
| +#define STATIC_ALLOCATED_SINGLETON()
|
| +#endif
|
| +
|
| // Provides customizable overrides of fastMalloc/fastFree and operator
|
| // new/delete
|
| //
|
|
|