Index: Source/core/css/parser/CSSParserValues.cpp |
diff --git a/Source/core/css/parser/CSSParserValues.cpp b/Source/core/css/parser/CSSParserValues.cpp |
index 93881306e8c251b2e242bc4f9fc083caac4a49ff..5765159d1c7b60b62ef2f436692b6835dda7baa8 100644 |
--- a/Source/core/css/parser/CSSParserValues.cpp |
+++ b/Source/core/css/parser/CSSParserValues.cpp |
@@ -283,8 +283,8 @@ CSSParserSelector::CSSParserSelector() |
{ |
} |
-CSSParserSelector::CSSParserSelector(const QualifiedName& tagQName) |
- : m_selector(adoptPtr(new CSSSelector(tagQName))) |
+CSSParserSelector::CSSParserSelector(const QualifiedName& tagQName, bool isImplicit) |
+ : m_selector(adoptPtr(new CSSSelector(tagQName, isImplicit))) |
{ |
} |
@@ -353,13 +353,13 @@ void CSSParserSelector::appendTagHistory(CSSSelector::Relation relation, PassOwn |
end->setTagHistory(selector); |
} |
-void CSSParserSelector::prependTagSelector(const QualifiedName& tagQName, bool tagIsForNamespaceRule) |
+void CSSParserSelector::prependTagSelector(const QualifiedName& tagQName, bool isImplicit) |
{ |
- OwnPtr<CSSParserSelector> second = adoptPtr(new CSSParserSelector); |
+ OwnPtr<CSSParserSelector> second = CSSParserSelector::create(); |
second->m_selector = m_selector.release(); |
second->m_tagHistory = m_tagHistory.release(); |
m_tagHistory = second.release(); |
- m_selector = adoptPtr(new CSSSelector(tagQName, tagIsForNamespaceRule)); |
+ m_selector = adoptPtr(new CSSSelector(tagQName, isImplicit)); |
} |
bool CSSParserSelector::hasHostPseudoSelector() const |