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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2622623003: Moved -webkit-rtl-ordering to be generated in ComputedStyleBase. (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 1ad4dc9a3763ee2ccdf26618d2c1875c0de0ef1d..eff47088fdeb1ab7114c15e6da47a811710d7ff2 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -200,7 +200,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
bool operator==(const InheritedData& other) const {
return (m_hasSimpleUnderline == other.m_hasSimpleUnderline) &&
(m_cursorStyle == other.m_cursorStyle) &&
- (m_rtlOrdering == other.m_rtlOrdering) &&
(m_insideLink == other.m_insideLink);
}
@@ -213,7 +212,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
unsigned m_cursorStyle : 6; // ECursor
// non CSS2 inherited
- unsigned m_rtlOrdering : 1; // EOrder
unsigned m_insideLink : 2; // EInsideLink
} m_inheritedData;
@@ -305,7 +303,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
ComputedStyleBase::setBitDefaults();
m_inheritedData.m_hasSimpleUnderline = false;
m_inheritedData.m_cursorStyle = static_cast<unsigned>(initialCursor());
- m_inheritedData.m_rtlOrdering = static_cast<unsigned>(initialRTLOrdering());
m_inheritedData.m_insideLink = NotInsideLink;
m_nonInheritedData.m_effectiveDisplay =
@@ -2249,15 +2246,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
SET_VAR(m_rareNonInheritedData, lineClamp, c);
}
- // -webkit-rtl-ordering
- static EOrder initialRTLOrdering() { return EOrder::Logical; }
- EOrder rtlOrdering() const {
- return static_cast<EOrder>(m_inheritedData.m_rtlOrdering);
- }
- void setRTLOrdering(EOrder o) {
- m_inheritedData.m_rtlOrdering = static_cast<unsigned>(o);
- }
-
// -webkit-ruby-position
static RubyPosition initialRubyPosition() { return RubyPositionBefore; }
RubyPosition getRubyPosition() const {

Powered by Google App Engine
This is Rietveld 408576698