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

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

Issue 2490163002: Reland of "Tracking reference filter mutation via SVGElementProxy" (Closed)
Patch Set: Fix double observer unregistration; simplify scope selection; add tests Created 4 years, 1 month 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/LayoutSVGResourceFilter.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp
index 68359ae550dde9fa64067eba0034db481e5edbd8..6f9babbf90fd64e9c1e7795c1e52bc936965048c 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp
@@ -60,6 +60,10 @@ bool LayoutSVGResourceFilter::isChildAllowed(LayoutObject* child,
return child->isSVGResourceFilterPrimitive();
}
+SVGElementProxySet* LayoutSVGResourceFilter::elementProxySet() {
+ return &toSVGFilterElement(*element()).elementProxySet();
+}
+
void LayoutSVGResourceFilter::removeAllClientsFromCache(
bool markForInvalidation) {
// LayoutSVGResourceFilter::removeClientFromCache will be called for
@@ -136,7 +140,7 @@ void LayoutSVGResourceFilter::primitiveAttributeChanged(
// Issue paint invalidations for the image on the screen.
markClientForInvalidation(filter.key, PaintInvalidation);
}
- markAllResourceClientsForInvalidation();
+ notifyContentChanged();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698