Index: ios/chrome/browser/ui/autofill/storage_switch_tooltip.mm |
diff --git a/ios/chrome/browser/ui/autofill/storage_switch_tooltip.mm b/ios/chrome/browser/ui/autofill/storage_switch_tooltip.mm |
index fc266c76a409f8061553e6514af9d86bd48d3a0b..216034f4edf8f622ab0fa72671323ef21120fab3 100644 |
--- a/ios/chrome/browser/ui/autofill/storage_switch_tooltip.mm |
+++ b/ios/chrome/browser/ui/autofill/storage_switch_tooltip.mm |
@@ -6,7 +6,7 @@ |
#include "base/logging.h" |
#include "components/strings/grit/components_strings.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" |
#include "ui/base/l10n/l10n_util.h" |
#if !defined(__has_feature) || !__has_feature(objc_arc) |
@@ -33,8 +33,7 @@ const CGFloat kInset = 8.0f; |
[self setBackgroundColor:[UIColor colorWithWhite:0.0 alpha:0.9]]; |
[[self layer] setCornerRadius:kCornerRadius]; |
[[self layer] setMasksToBounds:YES]; |
- [self setFont:[[MDFRobotoFontLoader sharedInstance] |
- regularFontOfSize:kFontSize]]; |
+ [self setFont:[[MDCTypography fontLoader] regularFontOfSize:kFontSize]]; |
[self setNumberOfLines:0]; // Allows multi-line layout. |
} |
return self; |