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..cefb5813bd4c5c5be71fef1092b484b180eb5402 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,9 @@ class DocumentStyleSheetCollection final |
return new DocumentStyleSheetCollection(treeScope); |
} |
- void updateActiveStyleSheets(); |
- void collectStyleSheets(DocumentStyleSheetCollector&); |
+ void updateActiveStyleSheets(StyleEngine& masterEngine); |
+ void collectStyleSheets(StyleEngine& masterEngine, |
+ DocumentStyleSheetCollector&); |
void collectViewportRules(ViewportStyleResolver&); |
DEFINE_INLINE_VIRTUAL_TRACE() { |
@@ -59,7 +61,8 @@ class DocumentStyleSheetCollection final |
private: |
explicit DocumentStyleSheetCollection(TreeScope&); |
- void collectStyleSheetsFromCandidates(DocumentStyleSheetCollector&); |
+ void collectStyleSheetsFromCandidates(StyleEngine& masterEngine, |
+ DocumentStyleSheetCollector&); |
}; |
} // namespace blink |