Index: Source/core/dom/StyleSheetCollection.cpp |
diff --git a/Source/core/dom/StyleSheetCollection.cpp b/Source/core/dom/StyleSheetCollection.cpp |
index 3696186242d15e88bfbb80b21e30271802532547..9187d67cf0b0cafb520fb161ddb145eceef0c9af 100644 |
--- a/Source/core/dom/StyleSheetCollection.cpp |
+++ b/Source/core/dom/StyleSheetCollection.cpp |
@@ -45,14 +45,14 @@ void StyleSheetCollection::swap(StyleSheetCollection& other) |
m_activeAuthorStyleSheets.swap(other.m_activeAuthorStyleSheets); |
} |
-void StyleSheetCollection::swapSheetsForSheetList(Vector<RefPtr<StyleSheet> >& sheets) |
+void StyleSheetCollection::swapSheetsForSheetList(WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& sheets) |
{ |
// Only called for collection of HTML Imports that never has active sheets. |
ASSERT(m_activeAuthorStyleSheets.isEmpty()); |
m_styleSheetsForStyleSheetList.swap(sheets); |
} |
-void StyleSheetCollection::appendActiveStyleSheets(const Vector<RefPtr<CSSStyleSheet> >& sheets) |
+void StyleSheetCollection::appendActiveStyleSheets(const WillBePersistentHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& sheets) |
{ |
m_activeAuthorStyleSheets.appendVector(sheets); |
} |