Index: gpu/config/gpu_info_collector_android.cc |
diff --git a/gpu/config/gpu_info_collector_android.cc b/gpu/config/gpu_info_collector_android.cc |
index c6d9b19456a6176714fded5252f1405cb6697e1d..93da6a937231e69bcf4e93f39c518470abe7f1e6 100644 |
--- a/gpu/config/gpu_info_collector_android.cc |
+++ b/gpu/config/gpu_info_collector_android.cc |
@@ -34,8 +34,8 @@ |
sub_string = version_string.substr(begin, end - begin); |
else |
sub_string = version_string.substr(begin); |
- std::vector<std::string> pieces = base::SplitString( |
- sub_string, ".", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
+ std::vector<std::string> pieces; |
+ base::SplitString(sub_string, '.', &pieces); |
if (pieces.size() >= 2) |
return std::make_pair(pieces[0] + "." + pieces[1], end); |
else |