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

Unified Diff: third_party/WebKit/Source/core/css/StylePropertySet.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/StylePropertySet.h
diff --git a/third_party/WebKit/Source/core/css/StylePropertySet.h b/third_party/WebKit/Source/core/css/StylePropertySet.h
index edf15327815ac3a3577e500375fa7d3a32e60927..f4a3bbd703ff1e6262de8f695e58b5c3f887c455 100644
--- a/third_party/WebKit/Source/core/css/StylePropertySet.h
+++ b/third_party/WebKit/Source/core/css/StylePropertySet.h
@@ -38,6 +38,7 @@ namespace blink {
class CSSStyleDeclaration;
class ImmutableStylePropertySet;
class MutableStylePropertySet;
+class PropertyRegistry;
class StyleSheetContents;
class CORE_EXPORT StylePropertySet
@@ -234,6 +235,7 @@ class CORE_EXPORT MutableStylePropertySet : public StylePropertySet {
bool important = false,
StyleSheetContents* contextStyleSheet = 0);
SetResult setProperty(const AtomicString& customPropertyName,
+ const PropertyRegistry*,
const String& value,
bool important,
StyleSheetContents* contextStyleSheet,

Powered by Google App Engine
This is Rietveld 408576698