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..22a4b7f7dec410a0464d7d539a520e13306127a2 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)); |