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

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

Issue 809513003: Remove dead methods from CSSStyleSheet and StyleSheetContents. (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/StyleSheetContents.h ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/StyleSheetContents.cpp
diff --git a/sky/engine/core/css/StyleSheetContents.cpp b/sky/engine/core/css/StyleSheetContents.cpp
index 86fe580fa735d2deaa7e189208c5a61ca42a1a11..5b38d0f2479b560154dc3c9de7406205638738cc 100644
--- a/sky/engine/core/css/StyleSheetContents.cpp
+++ b/sky/engine/core/css/StyleSheetContents.cpp
@@ -61,17 +61,6 @@ void StyleSheetContents::setHasMediaQueries()
m_hasMediaQueries = true;
}
-StyleRuleBase* StyleSheetContents::ruleAt(unsigned index) const
-{
- ASSERT_WITH_SECURITY_IMPLICATION(index < ruleCount());
- return m_childRules[index].get();
-}
-
-unsigned StyleSheetContents::ruleCount() const
-{
- return m_childRules.size();
-}
-
bool StyleSheetContents::parseString(const String& sheetText)
{
CSSParserContext context(parserContext(), UseCounter::getFrom(this));
« no previous file with comments | « sky/engine/core/css/StyleSheetContents.h ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698