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

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: Cleanup createContentPicture too 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..59acecbe8c99dcda3c2cc24099bb0b6b58bd3e19 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,7 @@ public:
void finishEffect(const LayoutObject&, GraphicsContext&, ClipperState&);
private:
- void drawClipMaskContent(GraphicsContext&, const LayoutObject&, const FloatRect& targetBoundingBox, const FloatRect& targetPaintInvalidationRect);
+ bool drawClipAsMask(GraphicsContext&, const LayoutObject&, const FloatRect& targetBoundingBox, const FloatRect& targetPaintInvalidationRect, const AffineTransform&);
wkorman 2016/03/29 17:56:33 Please document, in particular the return value me
pdr. 2016/03/29 18:06:15 Done
LayoutSVGResourceClipper& m_clip;
};

Powered by Google App Engine
This is Rietveld 408576698