Index: ios/chrome/browser/ui/ntp/centering_scrollview.mm |
diff --git a/ios/chrome/browser/ui/ntp/centering_scrollview.mm b/ios/chrome/browser/ui/ntp/centering_scrollview.mm |
index e6dbf0e2113998237a5e85309ec6c0bbcca78aed..399b4e37098bbfd4a38a757ade2f722d6580176f 100644 |
--- a/ios/chrome/browser/ui/ntp/centering_scrollview.mm |
+++ b/ios/chrome/browser/ui/ntp/centering_scrollview.mm |
@@ -7,6 +7,10 @@ |
#include "base/logging.h" |
#include "ios/chrome/browser/ui/ui_util.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace { |
// Thickness of scrollbar images inserted by UIScrollView (circa iOS 5.0). |
const CGFloat kScrollBarThickness = 7.0; |