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

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

Issue 2283933003: Don't cache matched properties for elements without a flat-tree parent. (Closed)
Patch Set: Pass StyleResolverState Created 4 years, 4 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.h
diff --git a/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.h b/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.h
index 831c038fae48fcedee4865d973aa930e043fb24e..e965a22e6bec00d00c3b27272df2827194cb486b 100644
--- a/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.h
+++ b/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.h
@@ -99,7 +99,7 @@ public:
void clear();
void clearViewportDependent();
- static bool isCacheable(const ComputedStyle&, const ComputedStyle& parentStyle);
+ static bool isCacheable(const StyleResolverState&);
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698