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

Unified Diff: Source/core/html/ClassList.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 | « Source/core/dom/SpaceSplitString.cpp ('k') | Source/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/ClassList.cpp
diff --git a/Source/core/html/ClassList.cpp b/Source/core/html/ClassList.cpp
index d8898f8a2f97459399675c186566aa5237213d20..53afc2ef94e066919248a1f1f4c6c295f5cc73e8 100644
--- a/Source/core/html/ClassList.cpp
+++ b/Source/core/html/ClassList.cpp
@@ -67,7 +67,7 @@ const SpaceSplitString& ClassList::classNames() const
ASSERT(m_element->hasClass());
if (m_element->document().inQuirksMode()) {
if (!m_classNamesForQuirksMode)
- m_classNamesForQuirksMode = adoptPtr(new SpaceSplitString(value(), false));
+ m_classNamesForQuirksMode = adoptPtr(new SpaceSplitString(value(), SpaceSplitString::ShouldNotFoldCase));
return *m_classNamesForQuirksMode.get();
}
return m_element->classNames();
« no previous file with comments | « Source/core/dom/SpaceSplitString.cpp ('k') | Source/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698