| Index: google_apis/drive/drive_api_requests_unittest.cc
|
| diff --git a/google_apis/drive/drive_api_requests_unittest.cc b/google_apis/drive/drive_api_requests_unittest.cc
|
| index ace07f3bfeb5708579661ca4e4fdc56025cabdfb..dfb7fbd745ee72319e97f9adaa92429eeb09d9a3 100644
|
| --- a/google_apis/drive/drive_api_requests_unittest.cc
|
| +++ b/google_apis/drive/drive_api_requests_unittest.cc
|
| @@ -445,8 +445,8 @@ class DriveApiRequestsTest : public testing::Test {
|
|
|
| const GURL absolute_url = test_server_.GetURL(request.relative_url);
|
| std::string id;
|
| - if (!test_util::RemovePrefix(
|
| - absolute_url.path(), kTestDownloadPathPrefix, &id) ||
|
| + if (!test_util::RemovePrefix(absolute_url.path().as_string(),
|
| + kTestDownloadPathPrefix, &id) ||
|
| absolute_url.query() != kTestDownloadFileQuery) {
|
| return std::unique_ptr<net::test_server::HttpResponse>();
|
| }
|
|
|