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

Unified Diff: ios/chrome/browser/ui/material_components/utils.mm

Issue 2888993003: [ObjC ARC] Converts ios/chrome/browser/ui/material_components:material_components to ARC. (Closed)
Patch Set: Adding strong classifier to app_bar_presenting.h Created 3 years, 7 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/chrome/browser/ui/material_components/app_bar_presenting.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 =
« no previous file with comments | « ios/chrome/browser/ui/material_components/app_bar_presenting.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698