Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: third_party/WebKit/Source/core/paint/SVGClipPainter.h

Issue 1838983002: Ensure display items are unique when multiple nested clip paths are used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch great again Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698