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

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

Issue 2401343002: Tracking filter mutation via SVGElementProxy (Closed)
Patch Set: Rebase Created 4 years, 2 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/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..b43642f1a0e8d82bc88b2c13e94e8081edcb1dd9 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();
}
+SVGElementProxyTracker* LayoutSVGResourceFilter::elementProxyTracker() {
+ return &toSVGFilterElement(*element()).elementProxyTracker();
+}
+
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();
+ invalidateProxyClients(PaintInvalidation);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698