Index: base/memory/ref_counted.h |
diff --git a/base/memory/ref_counted.h b/base/memory/ref_counted.h |
index e12a823fa15573fa3874d6494756cdf0e93c56fd..be4919c1a51908699c260936f4f6b3c62a98d9ab 100644 |
--- a/base/memory/ref_counted.h |
+++ b/base/memory/ref_counted.h |
@@ -17,7 +17,7 @@ |
#include "base/threading/thread_collision_warner.h" |
#include "build/build_config.h" |
-#if defined(OS_LINUX) |
+#if defined(OS_LINUX) || (defined(OS_MACOSX) && !defined(OS_IOS)) |
#define DISABLE_SCOPED_REFPTR_CONVERSION_OPERATOR |
#endif |