| Index: chrome/browser/ui/tabs/pinned_tab_codec.cc
|
| diff --git a/chrome/browser/ui/tabs/pinned_tab_codec.cc b/chrome/browser/ui/tabs/pinned_tab_codec.cc
|
| index 8f46d0ee94bc1de46be4af933774b5415857b73d..7fd14663930dd11164d856ff30ae5d56a4fe4dbb 100644
|
| --- a/chrome/browser/ui/tabs/pinned_tab_codec.cc
|
| +++ b/chrome/browser/ui/tabs/pinned_tab_codec.cc
|
| @@ -38,7 +38,7 @@ static bool HasPinnedTabs(Browser* browser) {
|
|
|
| // Adds a DictionaryValue to |values| representing |tab|.
|
| static void EncodeTab(const StartupTab& tab, base::ListValue* values) {
|
| - scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue);
|
| + std::unique_ptr<base::DictionaryValue> value(new base::DictionaryValue);
|
| value->SetString(kURL, tab.url.spec());
|
| values->Append(value.release());
|
| }
|
| @@ -48,7 +48,7 @@ static void EncodeTab(const StartupTab& tab, base::ListValue* values) {
|
| static void EncodePinnedTab(TabStripModel* model,
|
| int index,
|
| base::ListValue* values) {
|
| - scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue());
|
| + std::unique_ptr<base::DictionaryValue> value(new base::DictionaryValue());
|
|
|
| content::WebContents* web_contents = model->GetWebContentsAt(index);
|
| NavigationEntry* entry = web_contents->GetController().GetActiveEntry();
|
|
|