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

Unified Diff: ios/chrome/browser/ui/util/text_region_mapper_unittest.mm

Issue 2912863005: Use MDCTypography instead of MDFRobotoFontLoader directly. (Closed)
Patch Set: Tentative fix for ManualTextFramerTest 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/util/manual_text_framer_unittest.mm ('k') | ios/showcase/core/app_delegate.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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];
« no previous file with comments | « ios/chrome/browser/ui/util/manual_text_framer_unittest.mm ('k') | ios/showcase/core/app_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698