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

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

Issue 807703003: Remove @media rules. (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
« no previous file with comments | « sky/engine/core/dom/TreeScopeStyleSheetCollection.h ('k') | sky/engine/core/html/HTMLImageElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp
diff --git a/sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp b/sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp
index d11a655a55f0b3930a892b6c497e260967265b3c..dd5038acc0743601d89f450542eaf8d0cc9a5dda 100644
--- a/sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp
+++ b/sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp
@@ -58,13 +58,4 @@ void TreeScopeStyleSheetCollection::removeStyleSheetCandidateNode(Node* node, Co
m_styleSheetCandidateNodes.remove(node);
}
-void TreeScopeStyleSheetCollection::clearMediaQueryRuleSetStyleSheets()
-{
- for (size_t i = 0; i < m_activeAuthorStyleSheets.size(); ++i) {
- StyleSheetContents* contents = m_activeAuthorStyleSheets[i]->contents();
- if (contents->hasMediaQueries())
- contents->clearRuleSet();
- }
-}
-
}
« no previous file with comments | « sky/engine/core/dom/TreeScopeStyleSheetCollection.h ('k') | sky/engine/core/html/HTMLImageElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698