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

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

Issue 2627563002: Generated unicode-bidi 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 67ed90376342c85d2a7efeca727b994d3b74237a..6385a3ec5d1b45a7ae035c00b82e7f88f3cf2024 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -230,9 +230,8 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
m_verticalAlign == other.m_verticalAlign &&
m_clear == other.m_clear && m_position == other.m_position &&
m_tableLayout == other.m_tableLayout &&
- m_unicodeBidi == other.m_unicodeBidi
// hasViewportUnits
- && m_breakBefore == other.m_breakBefore &&
+ m_breakBefore == other.m_breakBefore &&
m_breakAfter == other.m_breakAfter &&
m_breakInside == other.m_breakInside;
// styleType
@@ -261,7 +260,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
unsigned m_clear : 2; // EClear
unsigned m_position : 3; // EPosition
unsigned m_tableLayout : 1; // ETableLayout
- unsigned m_unicodeBidi : 3; // UnicodeBidi
// This is set if we used viewport units when resolving a length.
// It is mutable so we can pass around const ComputedStyles to resolve
@@ -320,8 +318,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
m_nonInheritedData.m_clear = initialClear();
m_nonInheritedData.m_position = initialPosition();
m_nonInheritedData.m_tableLayout = initialTableLayout();
- m_nonInheritedData.m_unicodeBidi =
- static_cast<unsigned>(initialUnicodeBidi());
m_nonInheritedData.m_breakBefore = initialBreakBefore();
m_nonInheritedData.m_breakAfter = initialBreakAfter();
m_nonInheritedData.m_breakInside = initialBreakInside();
@@ -1858,15 +1854,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
SET_VAR(m_rareNonInheritedData, m_touchAction, t);
}
- // unicode-bidi
- static UnicodeBidi initialUnicodeBidi() { return UnicodeBidi::kNormal; }
- UnicodeBidi getUnicodeBidi() const {
- return static_cast<UnicodeBidi>(m_nonInheritedData.m_unicodeBidi);
- }
- void setUnicodeBidi(UnicodeBidi b) {
- m_nonInheritedData.m_unicodeBidi = static_cast<unsigned>(b);
- }
-
// vertical-align
static EVerticalAlign initialVerticalAlign() {
return EVerticalAlign::Baseline;
« 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