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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp

Issue 2648343004: Don't paint selections in <mask>s, <clipPath>s and <pattern>s (Closed)
Patch Set: Rebase Created 3 years, 11 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/layout/svg/LayoutSVGResourceClipper.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
index dbbcc326ba74973d1db61af9c6f3495c5a4e47eb..8a8220cc34d6bc3b8cb630a16703162152c6d9e4 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
@@ -224,7 +224,8 @@ sk_sp<const SkPicture> LayoutSVGResourceClipper::createContentPicture() {
// - stroke is set to the initial stroke paint server (none)
PaintInfo info(pictureBuilder.context(), LayoutRect::infiniteIntRect(),
PaintPhaseForeground, GlobalPaintNormalPhase,
- PaintLayerPaintingRenderingClipPathAsMask);
+ PaintLayerPaintingRenderingClipPathAsMask |
+ PaintLayerPaintingRenderingResourceSubtree);
for (const SVGElement& childElement :
Traversal<SVGElement>::childrenOf(*element())) {

Powered by Google App Engine
This is Rietveld 408576698