| Index: sky/engine/core/dom/Document.cpp
|
| diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
|
| index fac351b476af4824be1eb354a7964faf13515e75..1af6efc31242c786fab54a04c691a95dda77b22d 100644
|
| --- a/sky/engine/core/dom/Document.cpp
|
| +++ b/sky/engine/core/dom/Document.cpp
|
| @@ -331,8 +331,6 @@ Document::~Document()
|
| #endif
|
|
|
| #if !ENABLE(OILPAN)
|
| - if (m_styleSheetList)
|
| - m_styleSheetList->detachFromDocument();
|
|
|
| if (m_importsController)
|
| HTMLImportsController::removeFrom(*this);
|
| @@ -1677,13 +1675,6 @@ PassRefPtr<Document> Document::cloneDocumentWithoutChildren()
|
| return create(DocumentInit(url()).withRegistrationContext(registrationContext()));
|
| }
|
|
|
| -StyleSheetList* Document::styleSheets()
|
| -{
|
| - if (!m_styleSheetList)
|
| - m_styleSheetList = StyleSheetList::create(this);
|
| - return m_styleSheetList.get();
|
| -}
|
| -
|
| void Document::evaluateMediaQueryListIfNeeded()
|
| {
|
| if (!m_evaluateMediaQueriesOnStyleRecalc)
|
|
|