| Index: storage/browser/fileapi/file_system_url_request_job.cc
|
| diff --git a/storage/browser/fileapi/file_system_url_request_job.cc b/storage/browser/fileapi/file_system_url_request_job.cc
|
| index 30fb47d2589f898a18d2053c334a552d805e3ff7..42d7c96e779354a28964bd2443acb4dd559d13d0 100644
|
| --- a/storage/browser/fileapi/file_system_url_request_job.cc
|
| +++ b/storage/browser/fileapi/file_system_url_request_job.cc
|
| @@ -244,7 +244,7 @@ bool FileSystemURLRequestJob::IsRedirectResponse(GURL* location,
|
| if (is_directory_) {
|
| // This happens when we discovered the file is a directory, so needs a
|
| // slash at the end of the path.
|
| - std::string new_path = request_->url().path();
|
| + std::string new_path = request_->url().path().as_string();
|
| new_path.push_back('/');
|
| GURL::Replacements replacements;
|
| replacements.SetPathStr(new_path);
|
|
|