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

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

Issue 444413003: Make style building for font-weight less custom. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 | « Source/core/css/CSSProperties.in ('k') | Source/core/css/resolver/FontBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/FontBuilder.h
diff --git a/Source/core/css/resolver/FontBuilder.h b/Source/core/css/resolver/FontBuilder.h
index 51bf475c544d6c425d5efa1c1c97afdaed873972..e4a9cafac0c535946e2fcdaa6f9f0ccc4c9c697f 100644
--- a/Source/core/css/resolver/FontBuilder.h
+++ b/Source/core/css/resolver/FontBuilder.h
@@ -62,8 +62,6 @@ public:
void setFontSizeValue(CSSValue*, RenderStyle* parentStyle, const RenderStyle* rootElementStyle);
void setWeight(FontWeight);
- void setWeightBolder();
- void setWeightLighter();
void setStretch(FontStretch);
void setFeatureSettingsNormal();
@@ -98,6 +96,7 @@ public:
static FontDescription::Kerning initialKerning() { return FontDescription::AutoKerning; }
static FontSmoothingMode initialFontSmoothing() { return AutoSmoothing; }
static FontStretch initialStretch() { return FontStretchNormal; }
+ static FontWeight initialWeight() { return FontWeightNormal; }
friend class FontDescriptionChangeScope;
« no previous file with comments | « Source/core/css/CSSProperties.in ('k') | Source/core/css/resolver/FontBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698