Index: content/browser/download/save_package.cc |
diff --git a/content/browser/download/save_package.cc b/content/browser/download/save_package.cc |
index 6ba9c7720a54f8544e392ea1e7b01d88c1b0d844..f05c253148c974e3b0cd399117167e997fd6ac03 100644 |
--- a/content/browser/download/save_package.cc |
+++ b/content/browser/download/save_package.cc |
@@ -1217,8 +1217,8 @@ |
if (title_ == net::FormatUrl(page_url_, accept_langs)) { |
std::string url_path; |
if (!page_url_.SchemeIs(url::kDataScheme)) { |
- std::vector<std::string> url_parts = base::SplitString( |
- page_url_.path(), "/", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
+ std::vector<std::string> url_parts; |
+ base::SplitString(page_url_.path(), '/', &url_parts); |
if (!url_parts.empty()) { |
for (int i = static_cast<int>(url_parts.size()) - 1; i >= 0; --i) { |
url_path = url_parts[i]; |