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

Unified Diff: third_party/WebKit/Source/platform/fonts/android/FontCacheAndroidTest.cpp

Issue 2161683002: Add LayoutLocale class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test stability Created 4 years, 5 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: third_party/WebKit/Source/platform/fonts/android/FontCacheAndroidTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroidTest.cpp b/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroidTest.cpp
index dd8e4a8ac789703dbe82fe36a6393b2b7f37ddd5..37c9e89075b19ee7efee48545ae59d809a8579f4 100644
--- a/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroidTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroidTest.cpp
@@ -16,7 +16,7 @@ TEST(FontCacheAndroid, fallbackFontForCharacter)
const UChar32 testChar = 228;
FontDescription fontDescription;
- fontDescription.setLocale("zh");
+ fontDescription.setLocale(LayoutLocale::get("zh"));
ASSERT_EQ(USCRIPT_SIMPLIFIED_HAN, fontDescription.script());
fontDescription.setGenericFamily(FontDescription::StandardFamily);

Powered by Google App Engine
This is Rietveld 408576698