Index: third_party/WebKit/Source/core/css/StylePropertySet.cpp |
diff --git a/third_party/WebKit/Source/core/css/StylePropertySet.cpp b/third_party/WebKit/Source/core/css/StylePropertySet.cpp |
index da2011104f05b9186b55b600b5a4bcb4d182da7b..680039f26f1dd69cdc70ab9d14ac52b5cfbf858d 100644 |
--- a/third_party/WebKit/Source/core/css/StylePropertySet.cpp |
+++ b/third_party/WebKit/Source/core/css/StylePropertySet.cpp |
@@ -290,6 +290,8 @@ bool StylePropertySet::isPropertyImplicit(CSSPropertyID propertyID) const |
bool MutableStylePropertySet::setProperty(CSSPropertyID unresolvedProperty, const String& value, bool important, StyleSheetContents* contextStyleSheet) |
{ |
+ DCHECK_GE(unresolvedProperty, firstCSSProperty); |
+ |
// Setting the value to an empty string just removes the property in both IE and Gecko. |
// Setting it to null seems to produce less consistent results, but we treat it just the same. |
if (value.isEmpty()) |