| 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,
|
|
|