| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| index beaa7b707cdaf6af7c19e5b0f9d7840abe3c3267..d9b87d7a98856761f4f6af96b7bae7c9fd4cff82 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| @@ -55,7 +55,7 @@ PassRefPtr<const SkPicture> LayoutSVGResourceMasker::createContentPicture(Affine
|
| GraphicsContext& context)
|
| {
|
| SVGUnitTypes::SVGUnitType contentUnits = toSVGMaskElement(element())->maskContentUnits()->currentValue()->enumValue();
|
| - if (contentUnits == SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX) {
|
| + if (contentUnits == SVGUnitTypes::kSvgUnitTypeObjectboundingbox) {
|
| contentTransformation.translate(targetBoundingBox.x(), targetBoundingBox.y());
|
| contentTransformation.scaleNonUniform(targetBoundingBox.width(), targetBoundingBox.height());
|
| }
|
| @@ -120,7 +120,7 @@ FloatRect LayoutSVGResourceMasker::resourceBoundingBox(const LayoutObject* objec
|
| calculateMaskContentPaintInvalidationRect();
|
|
|
| FloatRect maskRect = m_maskContentBoundaries;
|
| - if (maskElement->maskContentUnits()->currentValue()->value() == SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX) {
|
| + if (maskElement->maskContentUnits()->currentValue()->value() == SVGUnitTypes::kSvgUnitTypeObjectboundingbox) {
|
| AffineTransform transform;
|
| transform.translate(objectBoundingBox.x(), objectBoundingBox.y());
|
| transform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height());
|
|
|