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

Unified Diff: third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp

Issue 2401343002: Tracking filter mutation via SVGElementProxy (Closed)
Patch Set: referenceChanged -> proxiedElementChanged 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/css/resolver/MatchedPropertiesCache.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp b/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp
index 24855a46543b4436be6492518461c1d8307b67a9..fbcccada76e01488b5cfd930a2eb0fa4ce7709d3 100644
--- a/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp
@@ -136,6 +136,8 @@ bool MatchedPropertiesCache::isCacheable(const StyleResolverState& state) {
return false;
if (style.hasVariableReferenceFromNonInheritedProperty())
return false;
+ if (style.hasFilter() && style.filter().hasReferenceFilter())
esprehn 2016/10/25 01:18:42 Hmm, can you explain why you need to turn off matc
fs 2016/10/25 15:00:53 Because mutations to the DOM tree does not reflect
+ return false;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698