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