Index: ios/chrome/browser/ui/contextual_search/contextual_search_mask_view.mm |
diff --git a/ios/chrome/browser/ui/contextual_search/contextual_search_mask_view.mm b/ios/chrome/browser/ui/contextual_search/contextual_search_mask_view.mm |
index 23592c66040ece9ca3adaefc0a1c2698825cf01b..e9651ec71ac1cb3f25bc574fe46906826a9389b8 100644 |
--- a/ios/chrome/browser/ui/contextual_search/contextual_search_mask_view.mm |
+++ b/ios/chrome/browser/ui/contextual_search/contextual_search_mask_view.mm |
@@ -11,6 +11,10 @@ |
// Linearly map |delta| in the range [0, 1] to a value in [min, max]. |
#define LERP(min, max, delta) (min * (1 - delta) + max * delta) |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace { |
const CGFloat kPhoneMaskLimit = 1.0; |
const CGFloat kPadMaskLimit = 0.8; |