Index: Source/core/dom/StyleEngine.cpp |
diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp |
index b07470f7f17698fccd7f5a618ef2a3b493c16b7c..95ad29c10c4b9ba51d77e1d5a8396d3944139ce7 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(); |