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

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

Issue 788883005: Remove REM units. (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/StyleEngine.cpp ('k') | sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/TreeScopeStyleSheetCollection.h
diff --git a/sky/engine/core/dom/TreeScopeStyleSheetCollection.h b/sky/engine/core/dom/TreeScopeStyleSheetCollection.h
index 5909ac03a63aa0036fbae256f11feb4760e89e1f..c0782376d5e308b12afbd62b2275ca2a124de63f 100644
--- a/sky/engine/core/dom/TreeScopeStyleSheetCollection.h
+++ b/sky/engine/core/dom/TreeScopeStyleSheetCollection.h
@@ -52,8 +52,6 @@ public:
void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode);
bool hasStyleSheetCandidateNodes() const { return !m_styleSheetCandidateNodes.isEmpty(); }
- bool usesRemUnits() const { return m_usesRemUnits; }
-
DocumentOrderedList& styleSheetCandidateNodes() { return m_styleSheetCandidateNodes; }
void clearMediaQueryRuleSetStyleSheets();
@@ -70,11 +68,8 @@ protected:
Additive
};
- void updateUsesRemUnits();
-
protected:
RawPtr<TreeScope> m_treeScope;
- bool m_usesRemUnits;
DocumentOrderedList m_styleSheetCandidateNodes;
};
« no previous file with comments | « sky/engine/core/dom/StyleEngine.cpp ('k') | sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698