| Index: Source/core/rendering/svg/RenderSVGResourceMasker.h
|
| diff --git a/Source/core/rendering/svg/RenderSVGResourceMasker.h b/Source/core/rendering/svg/RenderSVGResourceMasker.h
|
| index 66a34c6743ae6e8eba88b74ecb9d064b15a4fa92..c3f627295b250a10800709db36be046225e77fdc 100644
|
| --- a/Source/core/rendering/svg/RenderSVGResourceMasker.h
|
| +++ b/Source/core/rendering/svg/RenderSVGResourceMasker.h
|
| @@ -49,8 +49,8 @@ public:
|
| virtual bool applyResource(RenderObject*, RenderStyle*, GraphicsContext*&, unsigned short resourceMode);
|
| virtual FloatRect resourceBoundingBox(RenderObject*);
|
|
|
| - SVGUnitTypes::SVGUnitType maskUnits() const { return static_cast<SVGMaskElement*>(node())->maskUnitsCurrentValue(); }
|
| - SVGUnitTypes::SVGUnitType maskContentUnits() const { return static_cast<SVGMaskElement*>(node())->maskContentUnitsCurrentValue(); }
|
| + SVGUnitTypes::SVGUnitType maskUnits() const { return toSVGMaskElement(node())->maskUnitsCurrentValue(); }
|
| + SVGUnitTypes::SVGUnitType maskContentUnits() const { return toSVGMaskElement(node())->maskContentUnitsCurrentValue(); }
|
|
|
| virtual RenderSVGResourceType resourceType() const { return s_resourceType; }
|
| static RenderSVGResourceType s_resourceType;
|
|
|