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

Unified Diff: ios/web/web_state/js/page_script_util.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/crw_js_window_id_manager.mm ('k') | ios/web/web_state/page_viewport_state.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/js/page_script_util.mm
diff --git a/ios/web/web_state/js/page_script_util.mm b/ios/web/web_state/js/page_script_util.mm
index 5f044fc9b445301283493445f6f75e40b4bbf5e7..f5a9109496628c15706b6f8ec080d836aa7f5191 100644
--- a/ios/web/web_state/js/page_script_util.mm
+++ b/ios/web/web_state/js/page_script_util.mm
@@ -10,6 +10,10 @@
#include "base/strings/sys_string_conversions.h"
#include "ios/web/public/web_client.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace web {
NSString* GetPageScript(NSString* script_file_name) {
« no previous file with comments | « ios/web/web_state/js/crw_js_window_id_manager.mm ('k') | ios/web/web_state/page_viewport_state.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698