#ifndef ShadowTreeStyleSheetCollection_h
#define ShadowTreeStyleSheetCollection_h
-#include "core/dom/StyleSheetCollection.h"
+#include "core/dom/TreeScopeStyleSheetCollection.h"
namespace WebCore {
class StyleSheetCollection;
class StyleEngine;
-class ShadowTreeStyleSheetCollection FINAL : public StyleSheetCollection {
+class ShadowTreeStyleSheetCollection FINAL : public TreeScopeStyleSheetCollection {
WTF_MAKE_NONCOPYABLE(ShadowTreeStyleSheetCollection); WTF_MAKE_FAST_ALLOCATED;
public:
explicit ShadowTreeStyleSheetCollection(ShadowRoot&);
bool updateActiveStyleSheets(StyleEngine*, StyleResolverUpdateMode);
private:
- void collectStyleSheets(StyleEngine*, StyleSheetCollectionBase&);
+ void collectStyleSheets(StyleEngine*, StyleSheetCollection&);
};
}