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

Unified Diff: sky/engine/core/css/CSSComputedStyleDeclaration.h

Issue 860423004: Remove css !important (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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: sky/engine/core/css/CSSComputedStyleDeclaration.h
diff --git a/sky/engine/core/css/CSSComputedStyleDeclaration.h b/sky/engine/core/css/CSSComputedStyleDeclaration.h
index d6ac26584e013d025b0f7821bc7098e640aa888c..fcc92f10f8b25db06494edbbee7a7ed3571b76ec 100644
--- a/sky/engine/core/css/CSSComputedStyleDeclaration.h
+++ b/sky/engine/core/css/CSSComputedStyleDeclaration.h
@@ -61,7 +61,6 @@ public:
#endif
String getPropertyValue(CSSPropertyID) const;
- bool getPropertyPriority(CSSPropertyID) const;
virtual PassRefPtr<MutableStylePropertySet> copyProperties() const override;
@@ -80,7 +79,6 @@ private:
PassRefPtr<RenderStyle> computeRenderStyle(CSSPropertyID) const;
virtual PassRefPtr<CSSValue> getPropertyCSSValue(const String& propertyName) override;
virtual String getPropertyValue(const String& propertyName) override;
- virtual String getPropertyPriority(const String& propertyName) override;
virtual String getPropertyShorthand(const String& propertyName) override;
virtual bool isPropertyImplicit(const String& propertyName) override;
virtual void setProperty(const String& propertyName, const String& value, const String& priority, ExceptionState&) override;
@@ -89,7 +87,7 @@ private:
virtual void setCSSText(const String&, ExceptionState&) override;
virtual PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) override;
virtual String getPropertyValueInternal(CSSPropertyID) override;
- virtual void setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionState&) override;
+ virtual void setPropertyInternal(CSSPropertyID, const String& value, ExceptionState&) override;
virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const override;
« no previous file with comments | « sky/engine/core/animation/css/CSSAnimations.cpp ('k') | sky/engine/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698