Index: Source/core/dom/SpaceSplitString.cpp |
diff --git a/Source/core/dom/SpaceSplitString.cpp b/Source/core/dom/SpaceSplitString.cpp |
index 45472171e0394c16bc281c1e38f5d48a810e731a..0b90f84eb9ae4ecb342a5a611aefb6ab39ec1c14 100644 |
--- a/Source/core/dom/SpaceSplitString.cpp |
+++ b/Source/core/dom/SpaceSplitString.cpp |
@@ -151,7 +151,7 @@ SpaceSplitString::DataMap& SpaceSplitString::sharedDataMap() |
return map; |
} |
-void SpaceSplitString::set(const AtomicString& inputString, bool shouldFoldCase) |
+void SpaceSplitString::set(const AtomicString& inputString, CaseFolding caseFolding) |
{ |
if (inputString.isNull()) { |
clear(); |
@@ -159,7 +159,7 @@ void SpaceSplitString::set(const AtomicString& inputString, bool shouldFoldCase) |
} |
String string(inputString.string()); |
- if (shouldFoldCase && hasNonASCIIOrUpper(string)) |
+ if (caseFolding == ShouldFoldCase && hasNonASCIIOrUpper(string)) |
string = string.foldCase(); |
m_data = Data::create(AtomicString(string)); |