| Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| index 8094ce5a89ce589cf90a76a25338a49c68e21ea0..5afc5c6072c7a6c65f50e66f3cbb9de2524fe8cb 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| @@ -474,7 +474,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyTextIndent(StyleResolverState&
|
| TextIndentType textIndentTypeValue = ComputedStyle::initialTextIndentType();
|
|
|
| for (auto& listValue : toCSSValueList(value)) {
|
| - CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(listValue.get());
|
| + const CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(listValue.get());
|
| if (!primitiveValue->getValueID())
|
| lengthOrPercentageValue = primitiveValue->convertToLength(state.cssToLengthConversionData());
|
| else if (primitiveValue->getValueID() == CSSValueEachLine)
|
| @@ -702,7 +702,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyContent(StyleResolverState& sta
|
| if (item->isImageGeneratorValue() || item->isImageSetValue() || item->isImageValue()) {
|
| nextContent = ContentData::create(state.styleImage(CSSPropertyContent, *item));
|
| } else if (item->isCounterValue()) {
|
| - CSSCounterValue* counterValue = toCSSCounterValue(item.get());
|
| + const CSSCounterValue* counterValue = toCSSCounterValue(item.get());
|
| EListStyleType listStyleType = NoneListStyle;
|
| CSSValueID listStyleIdent = counterValue->listStyle();
|
| if (listStyleIdent != CSSValueNone)
|
| @@ -731,7 +731,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyContent(StyleResolverState& sta
|
| } else {
|
| String string;
|
| if (item->isFunctionValue()) {
|
| - CSSFunctionValue* functionValue = toCSSFunctionValue(item.get());
|
| + const CSSFunctionValue* functionValue = toCSSFunctionValue(item.get());
|
| DCHECK_EQ(functionValue->functionType(), CSSValueAttr);
|
| // FIXME: Can a namespace be specified for an attr(foo)?
|
| if (state.style()->styleType() == PseudoIdNone)
|
|
|