| Index: sky/engine/core/css/CSSDefaultStyleSheets.h
|
| diff --git a/sky/engine/core/css/CSSDefaultStyleSheets.h b/sky/engine/core/css/CSSDefaultStyleSheets.h
|
| index aafedbf7eefa8f0d69a28e4f158f4994d21488b0..50fd869037c3f9272095da1a6368bac080892065 100644
|
| --- a/sky/engine/core/css/CSSDefaultStyleSheets.h
|
| +++ b/sky/engine/core/css/CSSDefaultStyleSheets.h
|
| @@ -23,7 +23,8 @@
|
| #ifndef CSSDefaultStyleSheets_h
|
| #define CSSDefaultStyleSheets_h
|
|
|
| -#include "platform/heap/Handle.h"
|
| +#include "wtf/OwnPtr.h"
|
| +#include "wtf/RefPtr.h"
|
|
|
| namespace blink {
|
|
|
| @@ -31,20 +32,16 @@ class Element;
|
| class RuleSet;
|
| class StyleSheetContents;
|
|
|
| -class CSSDefaultStyleSheets : public DummyBase<CSSDefaultStyleSheets> {
|
| +class CSSDefaultStyleSheets {
|
| public:
|
| static CSSDefaultStyleSheets& instance();
|
|
|
| - void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaultStyle);
|
| -
|
| RuleSet* defaultStyle() { return m_defaultStyle.get(); }
|
| RuleSet* defaultViewportStyle() { return m_defaultViewportStyle.get(); }
|
|
|
| StyleSheetContents* defaultStyleSheet() { return m_defaultStyleSheet.get(); }
|
| StyleSheetContents* viewportStyleSheet() { return m_viewportStyleSheet.get(); }
|
|
|
| - void trace(Visitor*);
|
| -
|
| private:
|
| CSSDefaultStyleSheets();
|
|
|
|
|