Index: third_party/WebKit/Source/core/paint/SVGClipPainter.h |
diff --git a/third_party/WebKit/Source/core/paint/SVGClipPainter.h b/third_party/WebKit/Source/core/paint/SVGClipPainter.h |
index c511bc23a2765ae5abcf4a5f7e398a416e71140a..ce901646010d5cfd46918706775f665b23863f8d 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGClipPainter.h |
+++ b/third_party/WebKit/Source/core/paint/SVGClipPainter.h |
@@ -11,6 +11,7 @@ |
namespace blink { |
+class AffineTransform; |
class GraphicsContext; |
class LayoutObject; |
class LayoutSVGResourceClipper; |
@@ -33,7 +34,8 @@ public: |
void finishEffect(const LayoutObject&, GraphicsContext&, ClipperState&); |
private: |
- void drawClipMaskContent(GraphicsContext&, const LayoutObject&, const FloatRect& targetBoundingBox, const FloatRect& targetPaintInvalidationRect); |
+ // Return false if there is a problem drawing the mask. |
+ bool drawClipAsMask(GraphicsContext&, const LayoutObject&, const FloatRect& targetBoundingBox, const FloatRect& targetPaintInvalidationRect, const AffineTransform&); |
LayoutSVGResourceClipper& m_clip; |
}; |