| Index: sky/engine/core/dom/StyleSheetCollection.cpp
|
| diff --git a/sky/engine/core/dom/StyleSheetCollection.cpp b/sky/engine/core/dom/StyleSheetCollection.cpp
|
| index 2c241d9b282986e9ebf40527f3873110cd3e0cba..8a864d908e05469b02a7d8f5b7b09438c6686c9d 100644
|
| --- a/sky/engine/core/dom/StyleSheetCollection.cpp
|
| +++ b/sky/engine/core/dom/StyleSheetCollection.cpp
|
| @@ -41,17 +41,9 @@ StyleSheetCollection::~StyleSheetCollection()
|
|
|
| void StyleSheetCollection::swap(StyleSheetCollection& other)
|
| {
|
| - m_styleSheetsForStyleSheetList.swap(other.m_styleSheetsForStyleSheetList);
|
| m_activeAuthorStyleSheets.swap(other.m_activeAuthorStyleSheets);
|
| }
|
|
|
| -void StyleSheetCollection::swapSheetsForSheetList(Vector<RefPtr<CSSStyleSheet> >& 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)
|
| {
|
| m_activeAuthorStyleSheets.appendVector(sheets);
|
| @@ -62,9 +54,4 @@ void StyleSheetCollection::appendActiveStyleSheet(CSSStyleSheet* sheet)
|
| m_activeAuthorStyleSheets.append(sheet);
|
| }
|
|
|
| -void StyleSheetCollection::appendSheetForList(CSSStyleSheet* sheet)
|
| -{
|
| - m_styleSheetsForStyleSheetList.append(sheet);
|
| -}
|
| -
|
| }
|
|
|