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

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: Rebase 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: 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(

Powered by Google App Engine
This is Rietveld 408576698