Index: gpu/command_buffer/service/feature_info.cc |
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc |
index f28a8fb2a4cc15c06b342a7b90417aa91dd6f5c1..8caca9414b9e10d4bb2726c248ab21557a22535d 100644 |
--- a/gpu/command_buffer/service/feature_info.cc |
+++ b/gpu/command_buffer/service/feature_info.cc |
@@ -51,8 +51,8 @@ class StringSet { |
} |
void Init(const std::string& str) { |
- std::vector<std::string> tokens; |
- Tokenize(str, " ", &tokens); |
+ std::vector<std::string> tokens = base::SplitString( |
+ str, " ", base::KEEP_WHITESPACE, base::SPLIT_WANT_NONEMPTY); |
string_set_.insert(tokens.begin(), tokens.end()); |
} |