Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Unified Diff: content/common/throttling_url_loader_unittest.cc

Issue 2924723002: Network service: SafeBrowsing check for frame-resources from browser. (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698