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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.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/DocumentStyleSheetCollection.h
diff --git a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h
index 7d4fe51d18cefd7392236e054edb7cea1550cd70..5219819b4b6375a81e31bfaf3e40ae271aa731e1 100644
--- a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h
+++ b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h
@@ -36,6 +36,7 @@
namespace blink {
class DocumentStyleSheetCollector;
+class StyleEngine;
class TreeScope;
class ViewportStyleResolver;
@@ -48,8 +49,8 @@
return new DocumentStyleSheetCollection(treeScope);
}
- void updateActiveStyleSheets();
- void collectStyleSheets(DocumentStyleSheetCollector&);
+ void updateActiveStyleSheets(StyleEngine&, StyleResolverUpdateMode);
+ void collectStyleSheets(StyleEngine&, DocumentStyleSheetCollector&);
void collectViewportRules(ViewportStyleResolver&);
DEFINE_INLINE_VIRTUAL_TRACE() {
@@ -59,7 +60,8 @@
private:
explicit DocumentStyleSheetCollection(TreeScope&);
- void collectStyleSheetsFromCandidates(DocumentStyleSheetCollector&);
+ void collectStyleSheetsFromCandidates(StyleEngine&,
+ DocumentStyleSheetCollector&);
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698