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

Unified Diff: third_party/WebKit/Source/core/css/resolver/FontBuilderTest.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/core/css/resolver/FontBuilderTest.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/FontBuilderTest.cpp b/third_party/WebKit/Source/core/css/resolver/FontBuilderTest.cpp
index 6a7591a21a891acc549f11b78821cda2c32d8595..750d7d73909fdf04b9a62b142ff73ac0ba1acafc 100644
--- a/third_party/WebKit/Source/core/css/resolver/FontBuilderTest.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/FontBuilderTest.cpp
@@ -147,11 +147,11 @@ static void fontSizeValue(FontBuilder& b)
static void fontScriptBase(FontDescription& d)
{
- d.setLocale("no");
+ d.setLocale(LayoutLocale::get("no"));
}
static void fontScriptValue(FontBuilder& b)
{
- b.setLocale("se");
+ b.setLocale(LayoutLocale::get("se"));
}
INSTANTIATE_TEST_CASE_P(AllFields, FontBuilderAdditiveTest,

Powered by Google App Engine
This is Rietveld 408576698