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

Unified Diff: sky/engine/core/html/HTMLContentElement.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/html/HTMLAnchorElement.cpp ('k') | sky/engine/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/HTMLContentElement.cpp
diff --git a/sky/engine/core/html/HTMLContentElement.cpp b/sky/engine/core/html/HTMLContentElement.cpp
index 3491807f422a3a5da3b8c17fc09f5305e7c08b41..37391775f866f0505f47a15f0fc5c750e82e961f 100644
--- a/sky/engine/core/html/HTMLContentElement.cpp
+++ b/sky/engine/core/html/HTMLContentElement.cpp
@@ -54,7 +54,8 @@ void HTMLContentElement::parseSelect()
{
ASSERT(m_shouldParseSelect);
- BisonCSSParser parser(CSSParserContext(document(), 0));
+ CSSParserContext context(document());
+ BisonCSSParser parser(context);
parser.parseSelector(m_select, m_selectorList);
m_shouldParseSelect = false;
m_isValidSelector = validateSelect();
« no previous file with comments | « sky/engine/core/html/HTMLAnchorElement.cpp ('k') | sky/engine/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698