| Index: sky/engine/core/dom/StyleEngine.cpp
|
| diff --git a/sky/engine/core/dom/StyleEngine.cpp b/sky/engine/core/dom/StyleEngine.cpp
|
| index 293b81d3fd31a87b198251505e4603814e1cdd73..4d84959b30c9134289f81f3f49f4992d9d864ed4 100644
|
| --- a/sky/engine/core/dom/StyleEngine.cpp
|
| +++ b/sky/engine/core/dom/StyleEngine.cpp
|
| @@ -280,7 +280,7 @@ PassRefPtr<CSSStyleSheet> StyleEngine::createSheet(Element* e, const String& tex
|
| RefPtr<CSSStyleSheet> styleSheet;
|
| AtomicString textContent(text);
|
|
|
| - HashMap<AtomicString, RawPtr<StyleSheetContents> >::AddResult result = m_textToSheetCache.add(textContent, nullptr);
|
| + HashMap<AtomicString, StyleSheetContents*>::AddResult result = m_textToSheetCache.add(textContent, nullptr);
|
| if (result.isNewEntry || !result.storedValue->value) {
|
| styleSheet = CSSStyleSheet::create(e, KURL());
|
| styleSheet->contents()->parseString(text);
|
| @@ -300,7 +300,7 @@ PassRefPtr<CSSStyleSheet> StyleEngine::createSheet(Element* e, const String& tex
|
|
|
| void StyleEngine::removeSheet(StyleSheetContents* contents)
|
| {
|
| - HashMap<RawPtr<StyleSheetContents>, AtomicString>::iterator it = m_sheetToTextCache.find(contents);
|
| + HashMap<StyleSheetContents*, AtomicString>::iterator it = m_sheetToTextCache.find(contents);
|
| if (it == m_sheetToTextCache.end())
|
| return;
|
|
|
|
|