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

Unified Diff: third_party/WebKit/Source/core/css/StylePropertySerializer.h

Issue 2612733002: Don't check implicit flag for serializing background and -webkit-mask (Closed)
Patch Set: Created 3 years, 12 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/css/StylePropertySerializer.h
diff --git a/third_party/WebKit/Source/core/css/StylePropertySerializer.h b/third_party/WebKit/Source/core/css/StylePropertySerializer.h
index 9c130dd48c13e7433bc47024d3ccc53d656ac9ed..d4ecf27f64b6cd29a545896dece82f2dcb437f9a 100644
--- a/third_party/WebKit/Source/core/css/StylePropertySerializer.h
+++ b/third_party/WebKit/Source/core/css/StylePropertySerializer.h
@@ -83,7 +83,6 @@ class StylePropertySerializer {
: m_value(property.value()),
m_id(property.id()),
m_isImportant(property.isImportant()),
- m_isImplicit(property.isImplicit()),
m_isInherited(property.isInherited()) {}
// TODO(sashab): Make this take a const CSSValue&.
@@ -93,13 +92,11 @@ class StylePropertySerializer {
: m_value(value),
m_id(id),
m_isImportant(isImportant),
- m_isImplicit(value->isImplicitInitialValue()),
m_isInherited(value->isInheritedValue()) {}
CSSPropertyID id() const { return m_id; }
const CSSValue* value() const { return m_value; }
bool isImportant() const { return m_isImportant; }
- bool isImplicit() const { return m_isImplicit; }
bool isInherited() const { return m_isInherited; }
bool isValid() const { return m_value; }
@@ -107,7 +104,6 @@ class StylePropertySerializer {
Member<const CSSValue> m_value;
CSSPropertyID m_id;
bool m_isImportant;
- bool m_isImplicit;
bool m_isInherited;
};
@@ -125,7 +121,6 @@ class StylePropertySerializer {
bool shouldProcessPropertyAt(unsigned index) const;
int findPropertyIndex(CSSPropertyID) const;
const CSSValue* getPropertyCSSValue(CSSPropertyID) const;
- bool isPropertyImplicit(CSSPropertyID) const;
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698