Index: content/common/throttling_url_loader_unittest.cc |
diff --git a/content/common/throttling_url_loader_unittest.cc b/content/common/throttling_url_loader_unittest.cc |
index b361bafc2e465298dac81080e5bc245c8d183af9..a6d2ecda88c5f67afe68774e2284613e8ed4f443 100644 |
--- a/content/common/throttling_url_loader_unittest.cc |
+++ b/content/common/throttling_url_loader_unittest.cc |
@@ -205,11 +205,11 @@ class ThrottlingURLLoaderTest : public testing::Test { |
} |
void CreateLoaderAndStart() { |
- auto request = base::MakeUnique<ResourceRequest>(); |
- request->url = GURL("http://example.org"); |
+ ResourceRequest request; |
+ request.url = GURL("http://example.org"); |
loader_ = ThrottlingURLLoader::CreateLoaderAndStart( |
- factory_.factory_ptr().get(), std::move(throttles_), 0, 0, 0, |
- std::move(request), &client_); |
+ factory_.factory_ptr().get(), std::move(throttles_), 0, 0, 0, request, |
+ &client_); |
factory_.factory_ptr().FlushForTesting(); |
} |