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

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

Issue 2610513003: Avoid unnecessary updateActiveStyle comparing shadow styles. (Closed)
Patch Set: Fixed review issues. Created 3 years, 12 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*,
sashab 2017/01/04 00:39:33 I sort of agree with sigbjornf that this could be
+ const ScopedStyleResolver*);
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698