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

Unified Diff: chrome/browser/ui/tab_contents/core_tab_helper.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: Rebase 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
Index: chrome/browser/ui/tab_contents/core_tab_helper.h
diff --git a/chrome/browser/ui/tab_contents/core_tab_helper.h b/chrome/browser/ui/tab_contents/core_tab_helper.h
index 82fcc2ebeb4e82283d123ddcb6c48fc3770380ce..a2186f7420495349ff4eb405d5afb687a958b74b 100644
--- a/chrome/browser/ui/tab_contents/core_tab_helper.h
+++ b/chrome/browser/ui/tab_contents/core_tab_helper.h
@@ -116,7 +116,7 @@ class CoreTabHelper : public content::WebContentsObserver,
// (full-page plugins for now only) permissions.
int content_restrictions_;
- IDMap<ContextNodeThumbnailCallback, IDMapOwnPointer> thumbnail_callbacks_;
+ IDMap<std::unique_ptr<ContextNodeThumbnailCallback>> thumbnail_callbacks_;
DISALLOW_COPY_AND_ASSIGN(CoreTabHelper);
};

Powered by Google App Engine
This is Rietveld 408576698