| Index: sky/engine/core/dom/StyleEngine.cpp
|
| diff --git a/sky/engine/core/dom/StyleEngine.cpp b/sky/engine/core/dom/StyleEngine.cpp
|
| index 0dcf2015dc1451844d8f83b4b63bf47911bf793c..9a862e7912f8a4bdb9a322930fa4c5be5723412c 100644
|
| --- a/sky/engine/core/dom/StyleEngine.cpp
|
| +++ b/sky/engine/core/dom/StyleEngine.cpp
|
| @@ -193,24 +193,6 @@ void StyleEngine::removeStyleSheetCandidateNode(Node* node, ContainerNode* scopi
|
| m_activeTreeScopes.remove(&treeScope);
|
| }
|
|
|
| -void StyleEngine::clearMediaQueryRuleSetOnTreeScopeStyleSheets(TreeScopeSet treeScopes)
|
| -{
|
| - for (TreeScopeSet::iterator it = treeScopes.begin(); it != treeScopes.end(); ++it) {
|
| - TreeScope& treeScope = **it;
|
| - ASSERT(treeScope != m_document);
|
| - ShadowTreeStyleSheetCollection* collection = static_cast<ShadowTreeStyleSheetCollection*>(styleSheetCollectionFor(treeScope));
|
| - ASSERT(collection);
|
| - collection->clearMediaQueryRuleSetStyleSheets();
|
| - }
|
| -}
|
| -
|
| -void StyleEngine::clearMediaQueryRuleSetStyleSheets()
|
| -{
|
| - documentStyleSheetCollection()->clearMediaQueryRuleSetStyleSheets();
|
| - clearMediaQueryRuleSetOnTreeScopeStyleSheets(m_activeTreeScopes);
|
| - clearMediaQueryRuleSetOnTreeScopeStyleSheets(m_dirtyTreeScopes);
|
| -}
|
| -
|
| void StyleEngine::updateActiveStyleSheets()
|
| {
|
| ASSERT(isMaster());
|
|
|