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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.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/shaping/CachingWordShaperTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
index 4475685de603acfeb2b1f6da9cad16351a7d6331..6ec420a2c0610bc52459ea2b3ab8c8cc80304219 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
@@ -20,7 +20,7 @@ protected:
void SetUp() override
{
fontDescription.setComputedSize(12.0);
- fontDescription.setLocale("en");
+ fontDescription.setLocale(LayoutLocale::get("en"));
ASSERT_EQ(USCRIPT_LATIN, fontDescription.script());
fontDescription.setGenericFamily(FontDescription::StandardFamily);

Powered by Google App Engine
This is Rietveld 408576698