| Index: net/tools/disk_cache_memory_test/disk_cache_memory_test.cc
|
| diff --git a/net/tools/disk_cache_memory_test/disk_cache_memory_test.cc b/net/tools/disk_cache_memory_test/disk_cache_memory_test.cc
|
| index 745a032875b79afe8aae3a81b8b03d70ee7b000b..0c1fedb5da2484466546075433116ba6aaa580ca 100644
|
| --- a/net/tools/disk_cache_memory_test/disk_cache_memory_test.cc
|
| +++ b/net/tools/disk_cache_memory_test/disk_cache_memory_test.cc
|
| @@ -45,8 +45,8 @@ const char kKb[] = "kB";
|
| struct CacheSpec {
|
| public:
|
| static scoped_ptr<CacheSpec> Parse(const std::string& spec_string) {
|
| - std::vector<std::string> tokens;
|
| - base::SplitString(spec_string, ':', &tokens);
|
| + std::vector<std::string> tokens = base::SplitString(
|
| + spec_string, ":", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
| if (tokens.size() != 3)
|
| return scoped_ptr<CacheSpec>();
|
| if (tokens[0] != kBlockFileBackendType && tokens[0] != kSimpleBackendType)
|
|
|