| Index: third_party/WebKit/Source/core/css/BasicShapeFunctions.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/BasicShapeFunctions.cpp b/third_party/WebKit/Source/core/css/BasicShapeFunctions.cpp
|
| index 9e0e8de49ba2c163e2b15ead2664d0e846741a9f..cb148ab6d336cbe57bc69fc04dfc67c2f72c7e6b 100644
|
| --- a/third_party/WebKit/Source/core/css/BasicShapeFunctions.cpp
|
| +++ b/third_party/WebKit/Source/core/css/BasicShapeFunctions.cpp
|
| @@ -117,14 +117,14 @@ CSSValue* valueForBasicShape(const ComputedStyle& style, const BasicShape* basic
|
| }
|
| }
|
|
|
| -static Length convertToLength(const StyleResolverState& state, CSSPrimitiveValue* value)
|
| +static Length convertToLength(const StyleResolverState& state, const CSSPrimitiveValue* value)
|
| {
|
| if (!value)
|
| return Length(0, Fixed);
|
| return value->convertToLength(state.cssToLengthConversionData());
|
| }
|
|
|
| -static LengthSize convertToLengthSize(const StyleResolverState& state, CSSValuePair* value)
|
| +static LengthSize convertToLengthSize(const StyleResolverState& state, const CSSValuePair* value)
|
| {
|
| if (!value)
|
| return LengthSize(Length(0, Fixed), Length(0, Fixed));
|
| @@ -171,7 +171,7 @@ static BasicShapeCenterCoordinate convertToCenterCoordinate(const StyleResolverS
|
| return BasicShapeCenterCoordinate(direction, offset);
|
| }
|
|
|
| -static BasicShapeRadius cssValueToBasicShapeRadius(const StyleResolverState& state, CSSPrimitiveValue* radius)
|
| +static BasicShapeRadius cssValueToBasicShapeRadius(const StyleResolverState& state, const CSSPrimitiveValue* radius)
|
| {
|
| if (!radius)
|
| return BasicShapeRadius(BasicShapeRadius::ClosestSide);
|
|
|