Commit 862a0c17 authored by lindsayw's avatar lindsayw Committed by Commit Bot

[ObjC ARC] Converts ios/chrome/browser/ui/material_components:material_components to ARC.

Automatically generated ARCMigrate commit
Notable issues:None
BUG=624363
TEST=None

Review-Url: https://codereview.chromium.org/2888993003
Cr-Commit-Position: refs/heads/master@{#476339}
parent 4bd2b07f
......@@ -3,6 +3,7 @@
# found in the LICENSE file.
source_set("material_components") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"activity_indicator.h",
"activity_indicator.mm",
......
......@@ -7,6 +7,10 @@
#import "ios/chrome/browser/ui/colors/MDCPalette+CrAdditions.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
NSArray* ActivityIndicatorBrandedCycleColors() {
#if defined(GOOGLE_CHROME_BUILD)
return @[
......
......@@ -15,7 +15,7 @@
@protocol AppBarPresenting<NSObject>
// The installed app bar, if any.
@property(nonatomic, readonly) MDCAppBar* appBar;
@property(nonatomic, readonly, strong) MDCAppBar* appBar;
@end
......
......@@ -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 =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment