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

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

Issue 838313002: Move StyleResolver code out of ScopedStyleResolver. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months 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/css/resolver/ScopedStyleResolver.h » ('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 fa1a37acf7da1568b9afc5ba490a0208968210e1..12c3fa97b39667b5cac5b6a627689f5bbdf33fe0 100644
--- a/sky/engine/core/css/StyleSheetContents.cpp
+++ b/sky/engine/core/css/StyleSheetContents.cpp
@@ -69,11 +69,11 @@ void StyleSheetContents::shrinkToFit()
m_childRules.shrinkToFit();
}
-RuleSet& StyleSheetContents::ensureRuleSet(AddRuleFlags addRuleFlags)
+RuleSet& StyleSheetContents::ensureRuleSet()
{
if (!m_ruleSet) {
m_ruleSet = RuleSet::create();
- m_ruleSet->addRulesFromSheet(this, addRuleFlags);
+ m_ruleSet->addRulesFromSheet(this);
}
return *m_ruleSet.get();
}
« no previous file with comments | « sky/engine/core/css/StyleSheetContents.h ('k') | sky/engine/core/css/resolver/ScopedStyleResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698