| Index: sky/engine/core/dom/ShadowTreeStyleSheetCollection.cpp
|
| diff --git a/sky/engine/core/dom/ShadowTreeStyleSheetCollection.cpp b/sky/engine/core/dom/ShadowTreeStyleSheetCollection.cpp
|
| index 0936baaa2857fe5fbcda198facc9dd0de5c4909b..7bb1ccc04ca8d930e930191aab246cd9612fee6c 100644
|
| --- a/sky/engine/core/dom/ShadowTreeStyleSheetCollection.cpp
|
| +++ b/sky/engine/core/dom/ShadowTreeStyleSheetCollection.cpp
|
| @@ -50,11 +50,11 @@ void ShadowTreeStyleSheetCollection::collectStyleSheets(StyleEngine* engine, Sty
|
| if (!isHTMLStyleElement(*node))
|
| continue;
|
|
|
| - StyleSheet* sheet = toHTMLStyleElement(node)->sheet();
|
| + CSSStyleSheet* sheet = toHTMLStyleElement(node)->sheet();
|
| if (sheet)
|
| collection.appendSheetForList(sheet);
|
| - if (sheet && sheet->isCSSStyleSheet())
|
| - collection.appendActiveStyleSheet(toCSSStyleSheet(sheet));
|
| + if (sheet)
|
| + collection.appendActiveStyleSheet(sheet);
|
| }
|
| }
|
|
|
|
|