Index: ios/web/web_state/web_state_observer.mm |
diff --git a/ios/web/web_state/web_state_observer.mm b/ios/web/web_state/web_state_observer.mm |
index 1408a6e89edde462a1cb37b4bf1ecec54292b0c2..4c24630ff45f6940441f68f3e7fa59c2eb515448 100644 |
--- a/ios/web/web_state/web_state_observer.mm |
+++ b/ios/web/web_state/web_state_observer.mm |
@@ -7,6 +7,10 @@ |
#include "ios/web/public/load_committed_details.h" |
#import "ios/web/public/web_state/web_state.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace web { |
WebStateObserver::WebStateObserver(WebState* web_state) : web_state_(nullptr) { |