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

Unified Diff: extensions/browser/blob_holder.cc

Issue 2294653002: Some linked_ptr -> unique_ptr conversion in extensions/browser. (Closed)
Patch Set: address comments 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 | « extensions/browser/blob_holder.h ('k') | extensions/browser/content_verifier_io_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/blob_holder.cc
diff --git a/extensions/browser/blob_holder.cc b/extensions/browser/blob_holder.cc
index 26e2ee911201b31d8cd5b0699afa45cd546f590e..585ddda7d311766f61e11f7055957f59dbeeac7d 100644
--- a/extensions/browser/blob_holder.cc
+++ b/extensions/browser/blob_holder.cc
@@ -46,7 +46,7 @@ void BlobHolder::HoldBlobReference(std::unique_ptr<content::BlobHandle> blob) {
DCHECK(!ContainsBlobHandle(blob.get()));
std::string uuid = blob->GetUUID();
- held_blobs_.insert(make_pair(uuid, make_linked_ptr(blob.release())));
+ held_blobs_.insert(make_pair(uuid, std::move(blob)));
}
BlobHolder::BlobHolder(content::RenderProcessHost* render_process_host)
« no previous file with comments | « extensions/browser/blob_holder.h ('k') | extensions/browser/content_verifier_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698