Index: Source/core/rendering/svg/RenderSVGResourceClipper.h |
diff --git a/Source/core/rendering/svg/RenderSVGResourceClipper.h b/Source/core/rendering/svg/RenderSVGResourceClipper.h |
index 839583ce7d9ee434c025ea26a4af67af50a31b68..dc7e6fe28f307b6ac222f5e9ffaa42b8cb758054 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceClipper.h |
+++ b/Source/core/rendering/svg/RenderSVGResourceClipper.h |
@@ -64,13 +64,13 @@ public: |
virtual FloatRect resourceBoundingBox(RenderObject*); |
- virtual RenderSVGResourceType resourceType() const { return ClipperResourceType; } |
+ virtual RenderSVGResourceType resourceType() const { return s_resourceType; } |
bool hitTestClipContent(const FloatRect&, const FloatPoint&); |
SVGUnitTypes::SVGUnitType clipPathUnits() const { return toSVGClipPathElement(element())->clipPathUnitsCurrentValue(); } |
- static RenderSVGResourceType s_resourceType; |
+ static const RenderSVGResourceType s_resourceType; |
private: |
bool tryPathOnlyClipping(GraphicsContext*, const AffineTransform&, const FloatRect&); |
void drawMaskContent(GraphicsContext*, const FloatRect& targetBoundingBox); |