Index: content/browser/loader/resource_dispatcher_host_unittest.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_unittest.cc b/content/browser/loader/resource_dispatcher_host_unittest.cc |
index ef90e30b286979409944d0724153bf784152fdfc..80d78c508282411331ebbcb5fe9db93c24250cc0 100644 |
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc |
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc |
@@ -478,8 +478,8 @@ class URLRequestBigJob : public net::URLRequestSimpleJob { |
// big-job:substring,N |
static bool ParseURL(const GURL& url, std::string* text, int* count) { |
- std::vector<std::string> parts; |
- base::SplitString(url.path(), ',', &parts); |
+ std::vector<std::string> parts = base::SplitString( |
+ url.path(), ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
if (parts.size() != 2) |
return false; |
@@ -514,8 +514,8 @@ class URLRequestLoadInfoJob : public net::URLRequestJob { |
// big-job:substring,N |
static bool ParseURL(const GURL& url, std::string* text, int* count) { |
- std::vector<std::string> parts; |
- base::SplitString(url.path(), ',', &parts); |
+ std::vector<std::string> parts = base::SplitString( |
+ url.path(), ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
if (parts.size() != 2) |
return false; |