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

Unified Diff: Source/core/css/resolver/StyleResolver.cpp

Issue 992903002: Oilpan: implement StyleRuleList without an extra wrapper. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 5 years, 6 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 | « Source/core/css/ElementRuleCollector.cpp ('k') | Source/core/editing/EditingStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleResolver.cpp
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
index 9d2df7b8b522afffb4361cb0bc189299e339c648..60438547d0773eb11a161b0700e85fd446de0130 100644
--- a/Source/core/css/resolver/StyleResolver.cpp
+++ b/Source/core/css/resolver/StyleResolver.cpp
@@ -1362,8 +1362,8 @@ void StyleResolver::applyCallbackSelectors(StyleResolverState& state)
RefPtrWillBeRawPtr<StyleRuleList> rules = collector.matchedStyleRuleList();
if (!rules)
return;
- for (size_t i = 0; i < rules->m_list.size(); i++)
- state.style()->addCallbackSelector(rules->m_list[i]->selectorList().selectorsText());
+ for (size_t i = 0; i < rules->size(); i++)
+ state.style()->addCallbackSelector(rules->at(i)->selectorList().selectorsText());
}
void StyleResolver::setStatsEnabled(bool enabled)
« no previous file with comments | « Source/core/css/ElementRuleCollector.cpp ('k') | Source/core/editing/EditingStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698