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

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

Issue 22336008: Use the runtime flag and remove '-webkit-' prefix for CSS3 text-indent. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
Index: Source/core/rendering/style/StyleRareInheritedData.cpp
diff --git a/Source/core/rendering/style/StyleRareInheritedData.cpp b/Source/core/rendering/style/StyleRareInheritedData.cpp
index ea3728ea2a9c10b1c603b4a2692c5db4e4dce2b6..8db21a068bfb22de531d53a3cec8de8262e3275e 100644
--- a/Source/core/rendering/style/StyleRareInheritedData.cpp
+++ b/Source/core/rendering/style/StyleRareInheritedData.cpp
@@ -76,9 +76,7 @@ StyleRareInheritedData::StyleRareInheritedData()
, textEmphasisPosition(TextEmphasisPositionOver)
, m_textAlignLast(RenderStyle::initialTextAlignLast())
, m_textOrientation(TextOrientationVerticalRight)
-#if ENABLE(CSS3_TEXT)
, m_textIndentLine(RenderStyle::initialTextIndentLine())
-#endif
, m_lineBoxContain(RenderStyle::initialLineBoxContain())
, m_imageRendering(RenderStyle::initialImageRendering())
, m_lineSnap(RenderStyle::initialLineSnap())
@@ -130,9 +128,7 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
, textEmphasisPosition(o.textEmphasisPosition)
, m_textAlignLast(o.m_textAlignLast)
, m_textOrientation(o.m_textOrientation)
-#if ENABLE(CSS3_TEXT)
, m_textIndentLine(o.m_textIndentLine)
-#endif
, m_lineBoxContain(o.m_lineBoxContain)
, m_imageRendering(o.m_imageRendering)
, m_lineSnap(o.m_lineSnap)
@@ -203,9 +199,7 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const
&& textEmphasisPosition == o.textEmphasisPosition
&& m_textAlignLast == o.m_textAlignLast
&& m_textOrientation == o.m_textOrientation
-#if ENABLE(CSS3_TEXT)
&& m_textIndentLine == o.m_textIndentLine
-#endif
&& m_lineBoxContain == o.m_lineBoxContain
&& hyphenationString == o.hyphenationString
&& locale == o.locale

Powered by Google App Engine
This is Rietveld 408576698