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

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

Issue 2610513003: Avoid unnecessary updateActiveStyle comparing shadow styles. (Closed)
Patch Set: Added documentation. Created 3 years, 11 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/ScopedStyleResolver.h
diff --git a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
index 2ca625c22f1b4fa36a6ab4a1ef368714d70e3caa..c636ea7a9bf0021d8cc53c22d3a0ec61f252ee56 100644
--- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
+++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
@@ -76,6 +76,8 @@ class ScopedStyleResolver final : public GarbageCollected<ScopedStyleResolver> {
void setNeedsAppendAllSheets() { m_needsAppendAllSheets = true; }
static void keyframesRulesAdded(const TreeScope&);
static ContainerNode& invalidationRootForTreeScope(const TreeScope&);
+ CORE_EXPORT static bool haveSameStyles(const ScopedStyleResolver*,
+ const ScopedStyleResolver*);
DECLARE_TRACE();
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698