| Index: third_party/WebKit/Source/core/css/properties/CSSPropertyShapeUtils.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyShapeUtils.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyShapeUtils.cpp
|
| index 393a62be5f36e308c2faed34b923f99236383ae9..e4a41108e51e2810055e8b0794c67b3bb333fb91 100644
|
| --- a/third_party/WebKit/Source/core/css/properties/CSSPropertyShapeUtils.cpp
|
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyShapeUtils.cpp
|
| @@ -34,8 +34,8 @@ static CSSBasicShapeCircleValue* ConsumeBasicShapeCircle(
|
| if (ConsumeIdent<CSSValueAt>(args)) {
|
| CSSValue* center_x = nullptr;
|
| CSSValue* center_y = nullptr;
|
| - if (!ConsumePosition(args, context.Mode(), UnitlessQuirk::kForbid, center_x,
|
| - center_y))
|
| + if (!ConsumePosition(args, context, UnitlessQuirk::kForbid,
|
| + PositionSyntax::kBasicShape, center_x, center_y))
|
| return nullptr;
|
| shape->SetCenterX(center_x);
|
| shape->SetCenterY(center_y);
|
| @@ -57,8 +57,8 @@ static CSSBasicShapeEllipseValue* ConsumeBasicShapeEllipse(
|
| if (ConsumeIdent<CSSValueAt>(args)) {
|
| CSSValue* center_x = nullptr;
|
| CSSValue* center_y = nullptr;
|
| - if (!ConsumePosition(args, context.Mode(), UnitlessQuirk::kForbid, center_x,
|
| - center_y))
|
| + if (!ConsumePosition(args, context, UnitlessQuirk::kForbid,
|
| + PositionSyntax::kBasicShape, center_x, center_y))
|
| return nullptr;
|
| shape->SetCenterX(center_x);
|
| shape->SetCenterY(center_y);
|
|
|