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

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

Issue 2676513002: Generate nonproperty 'variableReference' in ComputedStyleBase. (Closed)
Patch Set: Rebase Created 3 years, 10 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 16084961c07988a3539cab261b66de6d83b268f7..2492fa297e652d28905631df3c1f2a6928776c97 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -267,8 +267,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
unsigned m_pseudoBits : 8;
unsigned m_explicitInheritance : 1; // Explicitly inherits a non-inherited
// property
- unsigned m_variableReference : 1; // A non-inherited property references a
- // variable or @apply is used.
unsigned m_emptyState : 1;
@@ -300,7 +298,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
m_nonInheritedData.m_styleType = PseudoIdNone;
m_nonInheritedData.m_pseudoBits = 0;
m_nonInheritedData.m_explicitInheritance = false;
- m_nonInheritedData.m_variableReference = false;
m_nonInheritedData.m_emptyState = false;
m_nonInheritedData.m_hasViewportUnits = false;
m_nonInheritedData.m_isLink = false;
@@ -2410,13 +2407,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
const CSSValue* getRegisteredVariable(const AtomicString&,
bool isInheritedProperty) const;
- void setHasVariableReferenceFromNonInheritedProperty() {
- m_nonInheritedData.m_variableReference = true;
- }
- bool hasVariableReferenceFromNonInheritedProperty() const {
- return m_nonInheritedData.m_variableReference;
- }
-
// Animations.
CSSAnimationData& accessAnimations();
const CSSAnimationData* animations() const {

Powered by Google App Engine
This is Rietveld 408576698