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

Unified Diff: ios/web/web_state/page_viewport_state.mm

Issue 2396553002: [ARC] Converts part of ios/web/ui to ARC.
Patch Set: co Created 4 years, 2 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
« no previous file with comments | « ios/web/web_state/js/page_script_util.mm ('k') | ios/web/web_state/ui/crw_generic_content_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/page_viewport_state.mm
diff --git a/ios/web/web_state/page_viewport_state.mm b/ios/web/web_state/page_viewport_state.mm
index f1e78134bf9540929a8f96ff18f0173ae2c04ffd..7b71ba2cef43e501c15709e5f4f1660facac4473 100644
--- a/ios/web/web_state/page_viewport_state.mm
+++ b/ios/web/web_state/page_viewport_state.mm
@@ -6,6 +6,10 @@
#include "base/logging.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
// Parses a double from |viewport_content|. |viewport_content| is expected to
// have no leading whitespace.
@@ -82,4 +86,4 @@ void PageViewportState::UpdateWithViewportContent(
}
}
-} // namespace web
+} // namespace web
« no previous file with comments | « ios/web/web_state/js/page_script_util.mm ('k') | ios/web/web_state/ui/crw_generic_content_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698