| Index: Source/core/rendering/svg/RenderSVGResourceMasker.h
|
| diff --git a/Source/core/rendering/svg/RenderSVGResourceMasker.h b/Source/core/rendering/svg/RenderSVGResourceMasker.h
|
| index c3f627295b250a10800709db36be046225e77fdc..44b2f567e7fdd6ff8d5c563681c184d92b63749b 100644
|
| --- a/Source/core/rendering/svg/RenderSVGResourceMasker.h
|
| +++ b/Source/core/rendering/svg/RenderSVGResourceMasker.h
|
| @@ -33,10 +33,6 @@
|
|
|
| namespace WebCore {
|
|
|
| -struct MaskerData {
|
| - OwnPtr<ImageBuffer> maskImage;
|
| -};
|
| -
|
| class RenderSVGResourceMasker FINAL : public RenderSVGResourceContainer {
|
| public:
|
| RenderSVGResourceMasker(SVGMaskElement*);
|
| @@ -46,7 +42,8 @@ public:
|
|
|
| virtual void removeAllClientsFromCache(bool markForInvalidation = true);
|
| virtual void removeClientFromCache(RenderObject*, bool markForInvalidation = true);
|
| - virtual bool applyResource(RenderObject*, RenderStyle*, GraphicsContext*&, unsigned short resourceMode);
|
| + virtual bool applyResource(RenderObject*, RenderStyle*, GraphicsContext*&, unsigned short resourceMode) OVERRIDE;
|
| + virtual void postApplyResource(RenderObject*, GraphicsContext*&, unsigned short, const Path*, const RenderSVGShape*) OVERRIDE;
|
| virtual FloatRect resourceBoundingBox(RenderObject*);
|
|
|
| SVGUnitTypes::SVGUnitType maskUnits() const { return toSVGMaskElement(node())->maskUnitsCurrentValue(); }
|
| @@ -56,11 +53,10 @@ public:
|
| static RenderSVGResourceType s_resourceType;
|
|
|
| private:
|
| - bool drawContentIntoMaskImage(MaskerData*, ColorSpace, const SVGMaskElement*, RenderObject*);
|
| void calculateMaskContentRepaintRect();
|
| + void drawMaskContent(GraphicsContext*, const FloatRect& targetBoundingBox);
|
|
|
| FloatRect m_maskContentBoundaries;
|
| - HashMap<RenderObject*, MaskerData*> m_masker;
|
| };
|
|
|
| }
|
|
|