Index: ios/chrome/browser/ui/material_components/utils.mm |
diff --git a/ios/chrome/browser/ui/material_components/utils.mm b/ios/chrome/browser/ui/material_components/utils.mm |
index 6bb5b81c0e5eb5dbd843c68c443cd34b7221efc1..7d64d0ca0afebdbb9c4bb2ecd5470b0860099bdb 100644 |
--- a/ios/chrome/browser/ui/material_components/utils.mm |
+++ b/ios/chrome/browser/ui/material_components/utils.mm |
@@ -11,6 +11,10 @@ |
#import "ios/third_party/material_components_ios/src/components/NavigationBar/src/MaterialNavigationBar.h" |
#import "ios/third_party/material_components_ios/src/components/Palettes/src/MaterialPalettes.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
void ConfigureAppBarWithCardStyle(MDCAppBar* appBar) { |
appBar.headerViewController.headerView.canOverExtend = NO; |
appBar.headerViewController.headerView.shiftBehavior = |