| Index: third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp
|
| index 8f90de97c35605f82924be1fea5b7b81d3a640e0..8cc01eb240d907488005e99c1ef2cf30bf47b052 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp
|
| @@ -133,11 +133,11 @@ float ViewportStyleResolver::viewportArgumentValue(CSSPropertyID id) const
|
| if (id == CSSPropertyUserZoom)
|
| defaultValue = 1;
|
|
|
| - RawPtr<CSSValue> value = m_propertySet->getPropertyCSSValue(id);
|
| + CSSValue* value = m_propertySet->getPropertyCSSValue(id);
|
| if (!value || !value->isPrimitiveValue())
|
| return defaultValue;
|
|
|
| - CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value.get());
|
| + CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
|
|
|
| if (primitiveValue->isNumber() || primitiveValue->isPx())
|
| return primitiveValue->getFloatValue();
|
| @@ -183,11 +183,11 @@ Length ViewportStyleResolver::viewportLengthValue(CSSPropertyID id) const
|
| || id == CSSPropertyMaxWidth
|
| || id == CSSPropertyMinWidth);
|
|
|
| - RawPtr<CSSValue> value = m_propertySet->getPropertyCSSValue(id);
|
| + CSSValue* value = m_propertySet->getPropertyCSSValue(id);
|
| if (!value || !value->isPrimitiveValue())
|
| return Length(); // auto
|
|
|
| - CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value.get());
|
| + CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
|
|
|
| if (primitiveValue->getValueID() == CSSValueInternalExtendToZoom)
|
| return Length(ExtendToZoom);
|
|
|