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

Unified Diff: content/browser/manifest/manifest_manager_host.cc

Issue 2480293004: Mandate unique_ptr for base::IDMap in IDMapOwnPointer mode. (Closed)
Patch Set: Make changes requested by danakj, fix a few more headers Created 4 years, 1 month 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/browser/manifest/manifest_manager_host.cc
diff --git a/content/browser/manifest/manifest_manager_host.cc b/content/browser/manifest/manifest_manager_host.cc
index 27e68f6003d4335201f21fe48ed4efe6898da22e..95625af73021b3f7e8116f5ecc67b7c9c8065c04 100644
--- a/content/browser/manifest/manifest_manager_host.cc
+++ b/content/browser/manifest/manifest_manager_host.cc
@@ -66,7 +66,8 @@ void ManifestManagerHost::GetManifest(RenderFrameHost* render_frame_host,
pending_get_callbacks_[render_frame_host] = base::WrapUnique(callbacks);
}
- int request_id = callbacks->Add(new GetManifestCallback(callback));
+ int request_id =
+ callbacks->Add(base::MakeUnique<GetManifestCallback>(callback));
render_frame_host->Send(new ManifestManagerMsg_RequestManifest(
render_frame_host->GetRoutingID(), request_id));
« no previous file with comments | « content/browser/cache_storage/cache_storage_cache.cc ('k') | content/browser/permissions/permission_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698