Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(656)

Unified Diff: ios/web/public/user_agent_unittest.mm

Issue 2937503004: [ObjC ARC] Converts ios/web:ios_web_public_unittests to ARC. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « ios/web/public/test/crw_mock_web_state_delegate.mm ('k') | ios/web/public/web_state/page_viewport_state_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698