Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(782)

Unified Diff: sky/engine/core/dom/Document.cpp

Issue 796713002: Turn StyleSharing to 11. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698