Index: third_party/WebKit/Source/core/css/RuleFeature.cpp |
diff --git a/third_party/WebKit/Source/core/css/RuleFeature.cpp b/third_party/WebKit/Source/core/css/RuleFeature.cpp |
index 2d49bd91e05232aa4fa39818633405c0c4290c26..5acd6a9aabe7d170e88c6fc6dc171590635db28b 100644 |
--- a/third_party/WebKit/Source/core/css/RuleFeature.cpp |
+++ b/third_party/WebKit/Source/core/css/RuleFeature.cpp |
@@ -389,12 +389,12 @@ void RuleFeatureSet::updateInvalidationSetsForContentAttribute(const RuleData& r |
return; |
StylePropertySet::PropertyReference contentProperty = propertySet.propertyAt(propertyIndex); |
- const CSSValue* contentValue = contentProperty.value(); |
+ const CSSValue& contentValue = contentProperty.value(); |
- if (!contentValue->isValueList()) |
+ if (!contentValue.isValueList()) |
return; |
- for (auto& item : toCSSValueList(*contentValue)) { |
+ for (auto& item : toCSSValueList(contentValue)) { |
if (!item->isFunctionValue()) |
continue; |
const CSSFunctionValue* functionValue = toCSSFunctionValue(item.get()); |