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

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: Draft 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') | Source/core/dom/SpaceSplitString.h » ('J')
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..2f0ed717c66041a1cfe0ee843ee0e9914663adc6 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() ? ShouldFoldCase : ShouldNotFoldCase)
, m_originalClassNames(classNames)
{
}
« no previous file with comments | « no previous file | Source/core/dom/DOMSettableTokenList.cpp » ('j') | Source/core/dom/SpaceSplitString.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698