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

Unified Diff: storage/browser/blob/blob_url_request_job_factory.cc

Issue 2842833003: Update SupportsUserData uses with unique_ptr. (Closed)
Patch Set: rebase Created 3 years, 8 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 | « gin/modules/module_registry.cc ('k') | ui/web_dialogs/web_dialog_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/blob/blob_url_request_job_factory.cc
diff --git a/storage/browser/blob/blob_url_request_job_factory.cc b/storage/browser/blob/blob_url_request_job_factory.cc
index 1017386eb51c91efd428ce0e58e3a1fe12d6fa6d..2b0c375332485263c73339a7323e4c0fc6d3c36a 100644
--- a/storage/browser/blob/blob_url_request_job_factory.cc
+++ b/storage/browser/blob/blob_url_request_job_factory.cc
@@ -39,7 +39,7 @@ std::unique_ptr<net::URLRequest> BlobProtocolHandler::CreateBlobRequest(
void BlobProtocolHandler::SetRequestedBlobDataHandle(
net::URLRequest* request,
std::unique_ptr<BlobDataHandle> blob_data_handle) {
- request->SetUserData(&kUserDataKey, blob_data_handle.release());
+ request->SetUserData(&kUserDataKey, std::move(blob_data_handle));
}
// static
« no previous file with comments | « gin/modules/module_registry.cc ('k') | ui/web_dialogs/web_dialog_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698