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

Unified Diff: third_party/WebKit/Source/core/css/resolver/FontBuilder.h

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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/resolver/FontBuilder.h
diff --git a/third_party/WebKit/Source/core/css/resolver/FontBuilder.h b/third_party/WebKit/Source/core/css/resolver/FontBuilder.h
index 395b3e82c3d46795ee3ae81484c3ad4516b4bd92..540fe11a7b336aa59fde5da95627890241287c53 100644
--- a/third_party/WebKit/Source/core/css/resolver/FontBuilder.h
+++ b/third_party/WebKit/Source/core/css/resolver/FontBuilder.h
@@ -61,7 +61,7 @@ public:
void setStretch(FontStretch);
void setFamilyDescription(const FontDescription::FamilyDescription&);
void setFeatureSettings(PassRefPtr<FontFeatureSettings>);
- void setLocale(const AtomicString&);
+ void setLocale(PassRefPtr<const LayoutLocale>);
void setStyle(FontStyle);
void setVariantCaps(FontDescription::FontVariantCaps);
void setVariantLigatures(const FontDescription::VariantLigatures&);
@@ -86,7 +86,7 @@ public:
static FontDescription::FontVariantCaps initialVariantCaps() { return FontDescription::CapsNormal; }
static FontDescription::VariantLigatures initialVariantLigatures() { return FontDescription::VariantLigatures(); }
static FontVariantNumeric initialVariantNumeric() { return FontVariantNumeric(); };
- static const AtomicString& initialLocale() { return nullAtom; }
+ static LayoutLocale* initialLocale() { return nullptr; }
static FontStyle initialStyle() { return FontStyleNormal; }
static FontDescription::Kerning initialKerning() { return FontDescription::AutoKerning; }
static FontSmoothingMode initialFontSmoothing() { return AutoSmoothing; }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698