Index: third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp |
diff --git a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp |
index fd5b933f6820bf1e3a6c713185d5776bc279cdfe..a2ce75170ba209a48736ae5d9649a8cf49ea315b 100644 |
--- a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp |
+++ b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp |
@@ -143,7 +143,7 @@ String AbstractPropertySetCSSStyleDeclaration::item(unsigned i) const |
return ""; |
StylePropertySet::PropertyReference property = propertySet().propertyAt(i); |
if (RuntimeEnabledFeatures::cssVariablesEnabled() && property.id() == CSSPropertyVariable) |
- return toCSSCustomPropertyDeclaration(property.value())->name(); |
+ return toCSSCustomPropertyDeclaration(property.value()).name(); |
if (property.id() == CSSPropertyApplyAtRule) |
return "@apply"; |
return getPropertyName(property.id()); |
@@ -303,7 +303,7 @@ StyleSheetContents* AbstractPropertySetCSSStyleDeclaration::contextStyleSheet() |
bool AbstractPropertySetCSSStyleDeclaration::cssPropertyMatches(CSSPropertyID propertyID, const CSSValue* propertyValue) const |
{ |
- return propertySet().propertyMatches(propertyID, propertyValue); |
+ return propertySet().propertyMatches(propertyID, *propertyValue); |
} |
DEFINE_TRACE(AbstractPropertySetCSSStyleDeclaration) |