Index: ios/web/public/user_agent_unittest.mm |
diff --git a/ios/web/public/user_agent_unittest.mm b/ios/web/public/user_agent_unittest.mm |
index 04cbc1c27b56fca1cff06bed09311fc1f2544677..3a1835d3bbc1954627a5e08565b0652874058f4a 100644 |
--- a/ios/web/public/user_agent_unittest.mm |
+++ b/ios/web/public/user_agent_unittest.mm |
@@ -6,6 +6,10 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace web { |
// Tests conversions between UserAgentType values and their descriptions |