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

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

Issue 2607403002: Disallow setting invalid values for registered properties via CSSOM (Closed)
Patch Set: fix comments 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/PropertySetCSSStyleDeclaration.h
diff --git a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h
index ebd03ac982776fa219d2520565b03edb51b4ccc5..d35e39727f5a47578f4a65fcabd8788229caad49 100644
--- a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h
+++ b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h
@@ -53,7 +53,8 @@ class AbstractPropertySetCSSStyleDeclaration : public CSSStyleDeclaration {
String getPropertyPriority(const String& propertyName) final;
String getPropertyShorthand(const String& propertyName) final;
bool isPropertyImplicit(const String& propertyName) final;
- void setProperty(const String& propertyName,
+ void setProperty(const ExecutionContext*,
+ const String& propertyName,
const String& value,
const String& priority,
ExceptionState&) final;
@@ -70,6 +71,7 @@ class AbstractPropertySetCSSStyleDeclaration : public CSSStyleDeclaration {
const String& customPropertyName,
const String& value,
bool important,
+ const ExecutionContext*,
ExceptionState&) final;
bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const final;

Powered by Google App Engine
This is Rietveld 408576698