diff --git a/chromium/third_party/WebKit/Source/platform/heap/Heap.h b/chromium/third_party/WebKit/Source/platform/heap/Heap.h index e7894d77ec03b45a5037ed54f4b36c8c6fc00352..bc21ff1595c0f12c6ae4a19288e05f569b9e67af 100644 --- a/chromium/third_party/WebKit/Source/platform/heap/Heap.h +++ b/chromium/third_party/WebKit/Source/platform/heap/Heap.h @@ -1256,7 +1256,11 @@ T* adoptRefCountedGarbageCollected(T* ptr) // ignore a particular class or field when checking for proper usage. When using // GC_PLUGIN_IGNORE a bug-number should be provided as an argument where the // bug describes what needs to happen to remove the GC_PLUGIN_IGNORE again. -#if COMPILER(CLANG) + +// Annotations are not working in XCode <= 5.0. Therfore we have to +// disable annotations until we do not need to support such an XCode +// version anymore. - We are never running the GC plugin anyway. +#if COMPILER(CLANG) && !defined(TOOLKIT_QT) #define STACK_ALLOCATED() \ private: \ __attribute__((annotate("blink_stack_allocated"))) \