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

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

Issue 2557533005: Collect active stylesheets and and apply asynchronously. (Closed)
Patch Set: Rebased. 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 5219819b4b6375a81e31bfaf3e40ae271aa731e1..7d4fe51d18cefd7392236e054edb7cea1550cd70 100644
--- a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h
+++ b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h
@@ -36,7 +36,6 @@
namespace blink {
class DocumentStyleSheetCollector;
-class StyleEngine;
class TreeScope;
class ViewportStyleResolver;
@@ -49,8 +48,8 @@ class DocumentStyleSheetCollection final
return new DocumentStyleSheetCollection(treeScope);
}
- void updateActiveStyleSheets(StyleEngine&, StyleResolverUpdateMode);
- void collectStyleSheets(StyleEngine&, DocumentStyleSheetCollector&);
+ void updateActiveStyleSheets();
+ void collectStyleSheets(DocumentStyleSheetCollector&);
void collectViewportRules(ViewportStyleResolver&);
DEFINE_INLINE_VIRTUAL_TRACE() {
@@ -60,8 +59,7 @@ class DocumentStyleSheetCollection final
private:
explicit DocumentStyleSheetCollection(TreeScope&);
- void collectStyleSheetsFromCandidates(StyleEngine&,
- DocumentStyleSheetCollector&);
+ void collectStyleSheetsFromCandidates(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