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

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

Issue 2563353002: Generate storage for -webkit-box-direction in ComputedStyleBase (Closed)
Patch Set: Created 4 years 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 225dcbb2fea09328939f16314bf69bca5c2337fd..1881ac3bcbf1c8c9c6f18eface79f57887dc99fd 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -221,7 +221,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
(m_hasSimpleUnderline == other.m_hasSimpleUnderline) &&
(m_cursorStyle == other.m_cursorStyle) &&
(m_direction == other.m_direction) &&
- (m_boxDirection == other.m_boxDirection) &&
(m_rtlOrdering == other.m_rtlOrdering) &&
(m_printColorAdjust == other.m_printColorAdjust) &&
(m_insideLink == other.m_insideLink) &&
@@ -234,8 +233,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
// text decoration on this element.
unsigned m_cursorStyle : 6; // ECursor
unsigned m_direction : 1; // TextDirection
- unsigned m_boxDirection : 1; // EBoxDirection (CSS3 box_direction property,
- // flexible box layout module)
// 32 bits
// non CSS2 inherited
@@ -361,8 +358,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
m_inheritedData.m_cursorStyle = static_cast<unsigned>(initialCursor());
m_inheritedData.m_direction = initialDirection();
m_inheritedData.m_rtlOrdering = static_cast<unsigned>(initialRTLOrdering());
- m_inheritedData.m_boxDirection =
- static_cast<unsigned>(initialBoxDirection());
m_inheritedData.m_printColorAdjust =
static_cast<unsigned>(initialPrintColorAdjust());
m_inheritedData.m_pointerEvents =
@@ -2336,15 +2331,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
SET_VAR(m_rareInheritedData, textEmphasisPosition, position);
}
- // -webkit-box-direction
- static EBoxDirection initialBoxDirection() { return EBoxDirection::Normal; }
- EBoxDirection boxDirection() const {
- return static_cast<EBoxDirection>(m_inheritedData.m_boxDirection);
- }
- void setBoxDirection(EBoxDirection d) {
- m_inheritedData.m_boxDirection = static_cast<unsigned>(d);
- }
-
// -webkit-highlight
static const AtomicString& initialHighlight() { return nullAtom; }
const AtomicString& highlight() const {
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.in ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698