Index: base/macros.h |
diff --git a/base/macros.h b/base/macros.h |
index 2e3fc097596d4416f807b9a222b659d8d2e65954..f89d7d11f9737ed6ce890783323daf227e277b6b 100644 |
--- a/base/macros.h |
+++ b/base/macros.h |
@@ -69,8 +69,12 @@ char (&ArraySizeHelper(const T (&array)[N]))[N]; |
// DEPRECATED: Just use |arraysize()|, now that C++11 has removed the |
// limitations that forced the use of |ARRAYSIZE_UNSAFE()|. |
-// TODO(viettrungluu): Convert all instances and delete. crbug.com/423134 |
+// TODO(viettrungluu): Convert all instances and delete. (The only uses are now |
+// in Blink; the ifdef is to prevent it from reappearing in Chromium.) |
+// crbug.com/423134 |
+#if defined(BLINK_PLATFORM) || defined(BLINK_PLATFORM_IMPLEMENTATION) |
#define ARRAYSIZE_UNSAFE(a) arraysize(a) |
+#endif |
// Use implicit_cast as a safe version of static_cast or const_cast |