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

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

Issue 2742263002: Add 'storage_only' template to make_computed_style_base.py. (Closed)
Patch Set: Created 3 years, 9 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 b9f4b7d1a01ec81485767dc3f430741403962088..996e2c2e6eb750bab454cd36cc8644e0f641ac0d 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -266,8 +266,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
unsigned m_styleType : 6; // PseudoId
unsigned m_pseudoBits : 8;
- unsigned m_emptyState : 1;
-
// 64 bits
unsigned m_isLink : 1;
@@ -295,7 +293,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
static_cast<unsigned>(initialVerticalAlign());
m_nonInheritedData.m_styleType = PseudoIdNone;
m_nonInheritedData.m_pseudoBits = 0;
- m_nonInheritedData.m_emptyState = false;
m_nonInheritedData.m_hasViewportUnits = false;
m_nonInheritedData.m_isLink = false;
m_nonInheritedData.m_hasRemUnits = false;
@@ -2430,10 +2427,10 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
bool hasRemUnits() const { return m_nonInheritedData.m_hasRemUnits; }
void setHasRemUnits() const { m_nonInheritedData.m_hasRemUnits = true; }
- bool emptyState() const { return m_nonInheritedData.m_emptyState; }
+ bool emptyState() const { return m_emptyState; }
void setEmptyState(bool b) {
setUnique();
- m_nonInheritedData.m_emptyState = b;
+ m_emptyState = b;
}
bool hasInlineTransform() const {

Powered by Google App Engine
This is Rietveld 408576698