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

Unified Diff: sky/engine/core/dom/SelectorQuery.cpp

Issue 867903002: Remove UseCounter (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/dom/Element.cpp ('k') | sky/engine/core/editing/Editor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/SelectorQuery.cpp
diff --git a/sky/engine/core/dom/SelectorQuery.cpp b/sky/engine/core/dom/SelectorQuery.cpp
index 6b0da930b199cc54cc148e5f324dde1aea89df3a..574fb989ed56992ced80cfaf18e5803ee7d6e34f 100644
--- a/sky/engine/core/dom/SelectorQuery.cpp
+++ b/sky/engine/core/dom/SelectorQuery.cpp
@@ -87,7 +87,8 @@ SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors, const Docu
if (it != m_entries.end())
return it->value.get();
- BisonCSSParser parser(CSSParserContext(document, 0));
+ CSSParserContext context(document);
+ BisonCSSParser parser(context);
CSSSelectorList selectorList;
parser.parseSelector(selectors, selectorList);
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698