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

Unified Diff: third_party/WebKit/Source/core/paint/FilterPainter.cpp

Issue 1987943002: [wip] unprefix filter Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/FilterPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FilterPainter.cpp b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
index eb90aaa825977b43446e3ba883fba906284f7a4d..6056ba3cba3d9d106c7c58df4817ff934baa1544 100644
--- a/third_party/WebKit/Source/core/paint/FilterPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
@@ -30,6 +30,9 @@ FilterPainter::FilterPainter(PaintLayer& layer, GraphicsContext& context, const
if (!layer.paintsWithFilters())
return;
+ if (m_layoutObject->isSVGRoot() && m_layoutObject->style()->hasFilter())
+ return;
+
FilterEffect* lastEffect = layer.lastFilterEffect();
if (!lastEffect)
return;
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698