Index: chrome/browser/plugins/plugins_resource_service.cc |
diff --git a/chrome/browser/plugins/plugins_resource_service.cc b/chrome/browser/plugins/plugins_resource_service.cc |
index 9ebdd0f7730f0dc8f9a709ed67094cf5d6f0f5d2..2b60a596426d6af87ba66de05373e1c5498ded79 100644 |
--- a/chrome/browser/plugins/plugins_resource_service.cc |
+++ b/chrome/browser/plugins/plugins_resource_service.cc |
@@ -6,6 +6,7 @@ |
#include "base/bind.h" |
#include "base/command_line.h" |
+#include "base/memory/ptr_util.h" |
#include "build/build_config.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/plugins/plugin_finder.h" |
@@ -71,7 +72,7 @@ PluginsResourceService::~PluginsResourceService() { |
// static |
void PluginsResourceService::RegisterPrefs(PrefRegistrySimple* registry) { |
registry->RegisterDictionaryPref(prefs::kPluginsMetadata, |
- new base::DictionaryValue()); |
+ base::MakeUnique<base::DictionaryValue>()); |
registry->RegisterStringPref(prefs::kPluginsResourceCacheUpdate, "0"); |
} |