Index: chrome/browser/background/background_contents_service.cc |
diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc |
index 1be0bc75dd43da998dccc0a4859b75cc2d1dd92b..ae384a895717fb16c3ce55ef883fb18400d4c149 100644 |
--- a/chrome/browser/background/background_contents_service.cc |
+++ b/chrome/browser/background/background_contents_service.cc |
@@ -11,7 +11,6 @@ |
#include "base/compiler_specific.h" |
#include "base/location.h" |
#include "base/macros.h" |
-#include "base/memory/ptr_util.h" |
#include "base/metrics/histogram_macros.h" |
#include "base/single_thread_task_runner.h" |
#include "base/strings/string_util.h" |
@@ -764,10 +763,10 @@ |
} |
// No entry for this application yet, so add one. |
- auto dict = base::MakeUnique<base::DictionaryValue>(); |
+ base::DictionaryValue* dict = new base::DictionaryValue(); |
dict->SetString(kUrlKey, background_contents->GetURL().spec()); |
dict->SetString(kFrameNameKey, contents_map_[appid].frame_name); |
- pref->SetWithoutPathExpansion(base::UTF16ToUTF8(appid), std::move(dict)); |
+ pref->SetWithoutPathExpansion(base::UTF16ToUTF8(appid), dict); |
} |
bool BackgroundContentsService::HasRegisteredBackgroundContents( |