Chromium Code Reviews| Index: base/message_loop/message_pump_mac.h |
| diff --git a/base/message_loop/message_pump_mac.h b/base/message_loop/message_pump_mac.h |
| index 14b8377b9086b922eacd82765e54d68ae2ef74fa..eec3d12cc5579ad11ad72acc9589d74e267f0bd6 100644 |
| --- a/base/message_loop/message_pump_mac.h |
| +++ b/base/message_loop/message_pump_mac.h |
| @@ -35,6 +35,7 @@ |
| #include <CoreFoundation/CoreFoundation.h> |
| +#include "base/compiler_specific.h" |
| #include "base/macros.h" |
| #include "base/memory/weak_ptr.h" |
| #include "base/message_loop/timer_slack.h" |
| @@ -72,11 +73,11 @@ class TimeTicks; |
| // Objective-C TUs, it is a type alias for NSAutoreleasePool. In all cases, a |
| // method that takes or returns an NSAutoreleasePool* can use |
| // AutoreleasePoolType* instead. |
| -#if !defined(__OBJC__) || __has_feature(objc_arc) |
| +#if !defined(__OBJC__) || HAS_FEATURE(objc_arc) |
|
Nico
2016/04/06 00:38:20
on mac we only support clang, so not using the mac
|
| class AutoreleasePoolType; |
| -#else // !defined(__OBJC__) || __has_feature(objc_arc) |
| +#else // !defined(__OBJC__) || HAS_FEATURE(objc_arc) |
| typedef NSAutoreleasePool AutoreleasePoolType; |
| -#endif // !defined(__OBJC__) || __has_feature(objc_arc) |
| +#endif // !defined(__OBJC__) || HAS_FEATURE(objc_arc) |
| class MessagePumpCFRunLoopBase : public MessagePump { |
| // Needs access to CreateAutoreleasePool. |