| Index: Source/core/dom/StyleEngine.h
|
| diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h
|
| index 57daab1cade6ba1b987d4179738d3174c7282a65..2cfe1d4bc7b1e137c062c12c280a6d3ff4e72071 100644
|
| --- a/Source/core/dom/StyleEngine.h
|
| +++ b/Source/core/dom/StyleEngine.h
|
| @@ -184,8 +184,8 @@ public:
|
|
|
| void markDocumentDirty();
|
|
|
| - static PassRefPtr<CSSStyleSheet> createSheet(Element*, const String& text, TextPosition startPosition, bool createdByParser);
|
| - static void removeSheet(StyleSheetContents*);
|
| + PassRefPtr<CSSStyleSheet> createSheet(Element*, const String& text, TextPosition startPosition, bool createdByParser);
|
| + void removeSheet(StyleSheetContents*);
|
|
|
| void trace(Visitor*);
|
|
|
| @@ -245,6 +245,9 @@ private:
|
| OwnPtr<StyleResolver> m_resolver;
|
|
|
| RefPtr<CSSFontSelector> m_fontSelector;
|
| +
|
| + HashMap<AtomicString, StyleSheetContents*> m_textToSheetCache;
|
| + HashMap<StyleSheetContents*, AtomicString> m_sheetToTextCache;
|
| };
|
|
|
| }
|
|
|