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

Unified Diff: ios/chrome/browser/ui/suggestions/suggestions_item.mm

Issue 2640473002: Suggestions UI - favicon item (Closed)
Patch Set: Fix build Created 3 years, 11 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
Index: ios/chrome/browser/ui/suggestions/suggestions_item.mm
diff --git a/ios/chrome/browser/ui/suggestions/suggestions_item.mm b/ios/chrome/browser/ui/suggestions/suggestions_item.mm
index decc3b6426ac084bb0dfa86ab5583fc6397ab45e..a19986c83abc913c3e9f3475703d1717343852fb 100644
--- a/ios/chrome/browser/ui/suggestions/suggestions_item.mm
+++ b/ios/chrome/browser/ui/suggestions/suggestions_item.mm
@@ -6,7 +6,7 @@
#import "ios/chrome/browser/ui/suggestions/suggestions_item_actions.h"
#import "ios/third_party/material_components_ios/src/components/Palettes/src/MaterialPalettes.h"
-#import "ios/third_party/material_roboto_font_loader_ios/src/src/MaterialRobotoFontLoader.h"
+#import "ios/third_party/material_components_ios/src/components/Typography/src/MaterialTypography.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
@@ -56,7 +56,7 @@
- (instancetype)initWithFrame:(CGRect)frame {
self = [super initWithFrame:frame];
if (self) {
- MDFRobotoFontLoader* fontLoader = [MDFRobotoFontLoader sharedInstance];
+ id<MDCTypographyFontLoading> fontLoader = [MDCTypography fontLoader];
_titleButton = [UIButton buttonWithType:UIButtonTypeSystem];
_titleButton.titleLabel.font = [fontLoader mediumFontOfSize:16];
_titleButton.titleLabel.textColor = [[MDCPalette greyPalette] tint900];

Powered by Google App Engine
This is Rietveld 408576698