Index: third_party/WebKit/Source/core/html/HTMLContentElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLContentElement.cpp b/third_party/WebKit/Source/core/html/HTMLContentElement.cpp |
index 23f97fad833bad0e7876635e256fe469b39294a7..623311092fb4e32800f2f9b2b70d18c672941fcb 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLContentElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLContentElement.cpp |
@@ -63,7 +63,7 @@ void HTMLContentElement::parseSelect() { |
DCHECK(m_shouldParseSelect); |
m_selectorList = CSSParser::parseSelector( |
- CSSParserContext(document(), nullptr), nullptr, m_select); |
+ CSSParserContext::create(document()), nullptr, m_select); |
m_shouldParseSelect = false; |
m_isValidSelector = validateSelect(); |
if (!m_isValidSelector) |