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

Unified Diff: sky/engine/core/css/StyleSheetContents.h

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/css/StyleRule.cpp ('k') | sky/engine/core/css/StyleSheetContents.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/StyleSheetContents.h
diff --git a/sky/engine/core/css/StyleSheetContents.h b/sky/engine/core/css/StyleSheetContents.h
index 85d45210ff40aaa38b883cba2e6cf6e7982fb7f5..482d79ebca24406b73629ca0a2249a724a2d8220 100644
--- a/sky/engine/core/css/StyleSheetContents.h
+++ b/sky/engine/core/css/StyleSheetContents.h
@@ -61,19 +61,14 @@ public:
void registerClient(CSSStyleSheet*);
void unregisterClient(CSSStyleSheet*);
- void setHasMediaQueries();
- bool hasMediaQueries() const { return m_hasMediaQueries; }
-
void shrinkToFit();
RuleSet& ruleSet() { ASSERT(m_ruleSet); return *m_ruleSet.get(); }
- RuleSet& ensureRuleSet(const MediaQueryEvaluator&, AddRuleFlags);
+ RuleSet& ensureRuleSet(AddRuleFlags);
void clearRuleSet();
private:
explicit StyleSheetContents(const CSSParserContext&);
- bool m_hasMediaQueries : 1;
-
OwnPtr<RuleSet> m_ruleSet;
Vector<RefPtr<StyleRuleBase> > m_childRules;
CSSParserContext m_parserContext;
« no previous file with comments | « sky/engine/core/css/StyleRule.cpp ('k') | sky/engine/core/css/StyleSheetContents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698