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

Unified Diff: Source/core/rendering/style/StyleInheritedData.cpp

Issue 319283002: [FastTextAutosizer] Inherit the text autosizing multiplier (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove non-critical changes Created 6 years, 6 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/rendering/style/StyleInheritedData.h ('k') | Source/core/rendering/style/StyleVisualData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/StyleInheritedData.cpp
diff --git a/Source/core/rendering/style/StyleInheritedData.cpp b/Source/core/rendering/style/StyleInheritedData.cpp
index 063e7d2286c1d6b6eeadf1a41acfab3ca9e2d59d..1b961aa497e9e8a640a0b35ebda7f610b831622e 100644
--- a/Source/core/rendering/style/StyleInheritedData.cpp
+++ b/Source/core/rendering/style/StyleInheritedData.cpp
@@ -32,6 +32,7 @@ StyleInheritedData::StyleInheritedData()
, line_height(RenderStyle::initialLineHeight())
, color(RenderStyle::initialColor())
, visitedLinkColor(RenderStyle::initialColor())
+ , textAutosizingMultiplier(1)
{
}
@@ -47,6 +48,7 @@ StyleInheritedData::StyleInheritedData(const StyleInheritedData& o)
, font(o.font)
, color(o.color)
, visitedLinkColor(o.visitedLinkColor)
+ , textAutosizingMultiplier(o.textAutosizingMultiplier)
{
}
@@ -57,6 +59,7 @@ bool StyleInheritedData::operator==(const StyleInheritedData& o) const
&& color == o.color
&& visitedLinkColor == o.visitedLinkColor
&& horizontal_border_spacing == o.horizontal_border_spacing
+ && textAutosizingMultiplier == o.textAutosizingMultiplier
&& vertical_border_spacing == o.vertical_border_spacing;
}
« no previous file with comments | « Source/core/rendering/style/StyleInheritedData.h ('k') | Source/core/rendering/style/StyleVisualData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698