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

Unified Diff: chrome/browser/ui/tab_contents/core_tab_helper.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 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 | « chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc ('k') | components/drive/job_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_contents/core_tab_helper.cc
diff --git a/chrome/browser/ui/tab_contents/core_tab_helper.cc b/chrome/browser/ui/tab_contents/core_tab_helper.cc
index 292ba98f3f90c39b76234c365b6349f943947aee..aba3a32f836f1643230587127dc022cfa0436c1d 100644
--- a/chrome/browser/ui/tab_contents/core_tab_helper.cc
+++ b/chrome/browser/ui/tab_contents/core_tab_helper.cc
@@ -122,7 +122,7 @@ void CoreTabHelper::RequestThumbnailForContextNode(
gfx::Size maximum_size,
const ContextNodeThumbnailCallback& callback) {
int callback_id = thumbnail_callbacks_.Add(
- new ContextNodeThumbnailCallback(callback));
+ base::MakeUnique<ContextNodeThumbnailCallback>(callback));
render_frame_host->Send(
new ChromeViewMsg_RequestThumbnailForContextNode(
« no previous file with comments | « chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc ('k') | components/drive/job_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698