Index: ios/chrome/browser/ui/util/text_region_mapper_unittest.mm |
diff --git a/ios/chrome/browser/ui/util/text_region_mapper_unittest.mm b/ios/chrome/browser/ui/util/text_region_mapper_unittest.mm |
index 319450a9b4789517fc12377fdad257c0ad6e4f1a..770b3415ee65f63d734c205ae22a825cdfd54e5c 100644 |
--- a/ios/chrome/browser/ui/util/text_region_mapper_unittest.mm |
+++ b/ios/chrome/browser/ui/util/text_region_mapper_unittest.mm |
@@ -6,7 +6,7 @@ |
#include "base/mac/foundation_util.h" |
#include "ios/chrome/browser/ui/util/text_region_mapper.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 "testing/gtest/include/gtest/gtest.h" |
#include "testing/gtest_mac.h" |
#include "testing/platform_test.h" |
@@ -120,7 +120,7 @@ TEST_F(TextRegionMapperTest, CJKTest) { |
NSMutableDictionary* attributes = [NSMutableDictionary |
dictionaryWithDictionary:AttributesForTextAlignment(NSTextAlignmentLeft)]; |
attributes[NSFontAttributeName] = |
- [[MDFRobotoFontLoader sharedInstance] regularFontOfSize:16]; |
+ [[MDCTypography fontLoader] regularFontOfSize:16]; |
NSAttributedString* string = |
[[NSAttributedString alloc] initWithString:CJKString |
attributes:attributes]; |