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

Unified Diff: Source/core/css/parser/CSSParserValues.cpp

Issue 1099963003: Support type selector for camel-cased SVG elements in HTML. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix performance regression. tagMatches() became too big to be inlined on Linux. Created 5 years, 8 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
Index: Source/core/css/parser/CSSParserValues.cpp
diff --git a/Source/core/css/parser/CSSParserValues.cpp b/Source/core/css/parser/CSSParserValues.cpp
index 5765159d1c7b60b62ef2f436692b6835dda7baa8..97f9cb954126d39e6c16b1e58954f4dcee0111fc 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, bool isImplicit)
- : m_selector(adoptPtr(new CSSSelector(tagQName, isImplicit)))
+CSSParserSelector::CSSParserSelector(const QualifiedName& tagQName, bool isImplicit, TagSelectorCase tagSelectorCase)
+ : m_selector(adoptPtr(new CSSSelector(tagQName, isImplicit, tagSelectorCase)))
{
}
@@ -353,13 +353,13 @@ void CSSParserSelector::appendTagHistory(CSSSelector::Relation relation, PassOwn
end->setTagHistory(selector);
}
-void CSSParserSelector::prependTagSelector(const QualifiedName& tagQName, bool isImplicit)
+void CSSParserSelector::prependTagSelector(const QualifiedName& tagQName, bool isImplicit, TagSelectorCase tagSelectorCase)
{
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, isImplicit));
+ m_selector = adoptPtr(new CSSSelector(tagQName, isImplicit, tagSelectorCase));
}
bool CSSParserSelector::hasHostPseudoSelector() const

Powered by Google App Engine
This is Rietveld 408576698