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

Unified Diff: Source/core/dom/ClassCollection.cpp

Issue 1035573005: Change a bool type to an enum type in constructor argument of SpaceSplitString. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move enum struct to SpaceSplitString and rename. Created 5 years, 9 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 | « no previous file | Source/core/dom/DOMSettableTokenList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ClassCollection.cpp
diff --git a/Source/core/dom/ClassCollection.cpp b/Source/core/dom/ClassCollection.cpp
index 53534a1d7b14c83a4e72a11d2c778e68e6b1253b..051af1f11549fdd46562fa09105321d19729eff1 100644
--- a/Source/core/dom/ClassCollection.cpp
+++ b/Source/core/dom/ClassCollection.cpp
@@ -37,7 +37,7 @@ namespace blink {
ClassCollection::ClassCollection(ContainerNode& rootNode, const AtomicString& classNames)
: HTMLCollection(rootNode, ClassCollectionType, DoesNotOverrideItemAfter)
- , m_classNames(classNames, document().inQuirksMode())
+ , m_classNames(classNames, document().inQuirksMode() ? SpaceSplitString::ShouldFoldCase : SpaceSplitString::ShouldNotFoldCase)
, m_originalClassNames(classNames)
{
}
« no previous file with comments | « no previous file | Source/core/dom/DOMSettableTokenList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698