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

Unified Diff: remoting/base/chromium_url_request.cc

Issue 2253233004: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « no previous file | remoting/client/chromoting_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/chromium_url_request.cc
diff --git a/remoting/base/chromium_url_request.cc b/remoting/base/chromium_url_request.cc
index e347f8aae840ef58a678f649e765c152f56391f1..295b9abda1818541b8c4e7b87d18e76d8e700bdb 100644
--- a/remoting/base/chromium_url_request.cc
+++ b/remoting/base/chromium_url_request.cc
@@ -71,7 +71,7 @@ ChromiumUrlRequestFactory::~ChromiumUrlRequestFactory() {}
std::unique_ptr<UrlRequest> ChromiumUrlRequestFactory::CreateUrlRequest(
UrlRequest::Type type,
const std::string& url) {
- return base::WrapUnique(new ChromiumUrlRequest(url_context_, type, url));
+ return base::MakeUnique<ChromiumUrlRequest>(url_context_, type, url);
}
} // namespace remoting
« no previous file with comments | « no previous file | remoting/client/chromoting_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698