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

Unified Diff: third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.h

Issue 2572473006: Revert of Collect active stylesheets and and apply asynchronously. (Closed)
Patch Set: Created 4 years 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/dom/ShadowTreeStyleSheetCollection.h
diff --git a/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.h b/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.h
index d86803bf87c646c5d50f899c4fac8b6663cb33f6..db5f32c1228c7689295251dcfea06176b4287483 100644
--- a/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.h
+++ b/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.h
@@ -36,6 +36,7 @@
class ShadowRoot;
class StyleSheetCollection;
+class StyleEngine;
class ShadowTreeStyleSheetCollection final
: public TreeScopeStyleSheetCollection {
@@ -43,7 +44,9 @@
public:
explicit ShadowTreeStyleSheetCollection(ShadowRoot&);
- void updateActiveStyleSheets();
+
+ void updateActiveStyleSheets(StyleEngine&, StyleResolverUpdateMode);
+
bool isShadowTreeStyleSheetCollection() const final { return true; }
DEFINE_INLINE_VIRTUAL_TRACE() {
@@ -51,7 +54,7 @@
}
private:
- void collectStyleSheets(StyleSheetCollection&);
+ void collectStyleSheets(StyleEngine&, StyleSheetCollection&);
};
DEFINE_TYPE_CASTS(ShadowTreeStyleSheetCollection,

Powered by Google App Engine
This is Rietveld 408576698