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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.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/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 1775ac300665a5111a4dbda0d5db021f04f26947..a4a08d809bfff85e592280b160ca4f44f15d2a20 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -2687,7 +2687,7 @@ void PaintLayer::updateOrRemoveFilterClients()
const auto& filter = layoutObject()->style()->filter();
if (filter.isEmpty() && m_rareData) {
m_rareData->filterInfo = nullptr;
- } else if (filter.hasReferenceFilter()) {
+ } else if (filter.hasReferenceFilter() && !layoutObject()->isSVGRoot()) {
ensureFilterInfo().updateReferenceFilterClients(filter);
} else if (filterInfo()) {
filterInfo()->clearFilterReferences();
« no previous file with comments | « third_party/WebKit/Source/core/paint/FilterPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGPaintContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698