Index: ui/base/ime/input_method_auralinux_unittest.cc |
diff --git a/ui/base/ime/input_method_auralinux_unittest.cc b/ui/base/ime/input_method_auralinux_unittest.cc |
index 5c4afc53535bfc6051e54c85d64a860bc40b7179..2cd15008b9df173d75046f30a3e902a3e5e4c9b7 100644 |
--- a/ui/base/ime/input_method_auralinux_unittest.cc |
+++ b/ui/base/ime/input_method_auralinux_unittest.cc |
@@ -87,8 +87,9 @@ class LinuxInputMethodContextForTesting : public LinuxInputMethodContext { |
} |
for (const auto& action : actions_) { |
- std::vector<base::string16> parts; |
- base::SplitString(action, L':', &parts); |
+ std::vector<base::string16> parts = base::SplitString( |
+ action, base::string16(1, ':'), base::TRIM_WHITESPACE, |
+ base::SPLIT_WANT_ALL); |
base::char16 id = parts[0][0]; |
base::string16 param; |
if (parts.size() > 1) |