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

Unified Diff: chrome/browser/plugins/plugin_finder.h

Issue 2442953002: Remove stl_util's deletion function use from chrome/. (Closed)
Patch Set: fix Created 4 years, 2 months 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/plugins/plugin_finder.h
diff --git a/chrome/browser/plugins/plugin_finder.h b/chrome/browser/plugins/plugin_finder.h
index f928789ac9fb8fafb2553c3bab8f3c82c10c584f..7c55eac9c4f69472665712f9d2bec2f43cd54938 100644
--- a/chrome/browser/plugins/plugin_finder.h
+++ b/chrome/browser/plugins/plugin_finder.h
@@ -80,10 +80,10 @@ class PluginFinder {
static base::DictionaryValue* LoadBuiltInPluginList();
#if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION)
- std::map<std::string, PluginInstaller*> installers_;
+ std::map<std::string, std::unique_ptr<PluginInstaller>> installers_;
#endif
- std::map<std::string, PluginMetadata*> identifier_plugin_;
+ std::map<std::string, std::unique_ptr<PluginMetadata>> identifier_plugin_;
// Version of the metadata information. We use this to consolidate multiple
// sources (baked into resource and fetched from a URL), making sure that we

Powered by Google App Engine
This is Rietveld 408576698