| Index: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| index 45b5028a31b7127c88cd46f228776c23da61355e..f57032398ac7fe8921a60130037fe148d16b3da4 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -797,7 +797,7 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForElement(Element* element, const
|
| if (element->hasTagName(HTMLNames::summaryTag)) {
|
| MatchedPropertiesRange properties = collector.matchedResult().authorRules();
|
| for (auto it = properties.begin(); it != properties.end(); ++it) {
|
| - CSSValue* value = it->properties->getPropertyCSSValue(CSSPropertyDisplay);
|
| + const CSSValue* value = it->properties->getPropertyCSSValue(CSSPropertyDisplay);
|
| if (value && value->isPrimitiveValue() && toCSSPrimitiveValue(*value).getValueID() == CSSValueBlock)
|
| UseCounter::count(element->document(), UseCounter::SummaryElementWithDisplayBlockAuthorRule);
|
| }
|
|
|