Index: Source/core/dom/StyleEngine.cpp |
diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp |
index 970c5714577eb90e617a9e77c0156f7259f834aa..a8e0b8d7f8509658e798bb161d8a8213438a56bc 100644 |
--- a/Source/core/dom/StyleEngine.cpp |
+++ b/Source/core/dom/StyleEngine.cpp |
@@ -144,7 +144,7 @@ TreeScopeStyleSheetCollection* StyleEngine::ensureStyleSheetCollectionFor(TreeSc |
if (treeScope == m_document) |
return &m_documentStyleSheetCollection; |
- WillBeHeapHashMap<TreeScope*, OwnPtrWillBeMember<ShadowTreeStyleSheetCollection> >::AddResult result = m_styleSheetCollectionMap.add(&treeScope, nullptr); |
+ StyleSheetCollectionMap::AddResult result = m_styleSheetCollectionMap.add(&treeScope, nullptr); |
if (result.isNewEntry) |
result.storedValue->value = adoptPtrWillBeNoop(new ShadowTreeStyleSheetCollection(toShadowRoot(treeScope))); |
return result.storedValue->value.get(); |
@@ -155,7 +155,7 @@ TreeScopeStyleSheetCollection* StyleEngine::styleSheetCollectionFor(TreeScope& t |
if (treeScope == m_document) |
return &m_documentStyleSheetCollection; |
- WillBeHeapHashMap<TreeScope*, OwnPtrWillBeMember<ShadowTreeStyleSheetCollection> >::iterator it = m_styleSheetCollectionMap.find(&treeScope); |
+ StyleSheetCollectionMap::iterator it = m_styleSheetCollectionMap.find(&treeScope); |
if (it == m_styleSheetCollectionMap.end()) |
return 0; |
return it->value.get(); |