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

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

Issue 40733004: Replace compile flag with runtime check for text-underline-position (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed a typo in static function compileUnderlineOffset signature / Rebase Created 7 years, 2 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: Source/core/rendering/style/StyleRareInheritedData.cpp
diff --git a/Source/core/rendering/style/StyleRareInheritedData.cpp b/Source/core/rendering/style/StyleRareInheritedData.cpp
index 99c771854db0f9d141a16c79fb135ddda2719d97..1a1769c787f2c43e6c5e759fbf3016a20c665680 100644
--- a/Source/core/rendering/style/StyleRareInheritedData.cpp
+++ b/Source/core/rendering/style/StyleRareInheritedData.cpp
@@ -82,9 +82,7 @@ StyleRareInheritedData::StyleRareInheritedData()
, m_imageRendering(RenderStyle::initialImageRendering())
, m_lineSnap(RenderStyle::initialLineSnap())
, m_lineAlign(RenderStyle::initialLineAlign())
-#if ENABLE(CSS3_TEXT)
, m_textUnderlinePosition(RenderStyle::initialTextUnderlinePosition())
-#endif // CSS3_TEXT
, m_rubyPosition(RenderStyle::initialRubyPosition())
, m_touchActionDelay(RenderStyle::initialTouchActionDelay())
, hyphenationLimitBefore(-1)
@@ -136,9 +134,7 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
, m_imageRendering(o.m_imageRendering)
, m_lineSnap(o.m_lineSnap)
, m_lineAlign(o.m_lineAlign)
-#if ENABLE(CSS3_TEXT)
, m_textUnderlinePosition(o.m_textUnderlinePosition)
-#endif // CSS3_TEXT
, m_rubyPosition(o.m_rubyPosition)
, m_touchActionDelay(o.m_touchActionDelay)
, hyphenationString(o.hyphenationString)
@@ -214,9 +210,7 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const
&& m_tabSize == o.m_tabSize
&& m_lineGrid == o.m_lineGrid
&& m_imageRendering == o.m_imageRendering
-#if ENABLE(CSS3_TEXT)
&& m_textUnderlinePosition == o.m_textUnderlinePosition
-#endif // CSS3_TEXT
&& m_rubyPosition == o.m_rubyPosition
&& m_lineSnap == o.m_lineSnap
&& m_variables == o.m_variables

Powered by Google App Engine
This is Rietveld 408576698