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

Unified Diff: content/child/url_response_body_consumer_unittest.cc

Issue 2254173002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/child/url_response_body_consumer_unittest.cc
diff --git a/content/child/url_response_body_consumer_unittest.cc b/content/child/url_response_body_consumer_unittest.cc
index cd17dd7024cac5c6630af71e3b6f7210990a26d7..49613b63ad86585e53612f07f032ae91dd7deae2 100644
--- a/content/child/url_response_body_consumer_unittest.cc
+++ b/content/child/url_response_body_consumer_unittest.cc
@@ -112,7 +112,7 @@ class URLResponseBodyConsumerTest : public ::testing::Test,
int SetUpRequestPeer(const RequestInfo& request_info,
TestRequestPeer::Context* context) {
return dispatcher_->StartAsync(
- request_info, nullptr, base::WrapUnique(new TestRequestPeer(context)),
+ request_info, nullptr, base::MakeUnique<TestRequestPeer>(context),
blink::WebURLRequest::LoadingIPCType::ChromeIPC, nullptr);
}
« no previous file with comments | « content/child/url_response_body_consumer.cc ('k') | content/child/web_data_consumer_handle_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698