Index: third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp |
diff --git a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp |
index cbed9f2db09c93669e74c6dde6b38b4a2675c4c6..980c001aa355b35782d8dde72bd17f7dbd9de122 100644 |
--- a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp |
+++ b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp |
@@ -43,7 +43,7 @@ bool StylePropertyMap::has(const String& propertyName, ExceptionState& exception |
{ |
CSSPropertyID propertyID = cssPropertyID(propertyName); |
if (propertyID != CSSPropertyInvalid) |
- return has(propertyID); |
+ return !getAll(propertyID).isEmpty(); |
// TODO(meade): Handle custom properties here. |
exceptionState.throwTypeError("Invalid propertyName: " + propertyName); |