| Index: chrome/browser/prefs/session_startup_pref.cc
|
| diff --git a/chrome/browser/prefs/session_startup_pref.cc b/chrome/browser/prefs/session_startup_pref.cc
|
| index 7534e7d84737aaf1cf87ae7053d826c3a3e99333..69bd41858ea091181f23d51dff50ad6fb0a85a7b 100644
|
| --- a/chrome/browser/prefs/session_startup_pref.cc
|
| +++ b/chrome/browser/prefs/session_startup_pref.cc
|
| @@ -113,12 +113,12 @@ void SessionStartupPref::SetStartupPref(PrefService* prefs,
|
| // user changes the startup type pref.
|
| // Ownership of the ListValue retains with the pref service.
|
| ListPrefUpdate update(prefs, prefs::kURLsToRestoreOnStartup);
|
| - ListValue* url_pref_list = update.Get();
|
| + base::ListValue* url_pref_list = update.Get();
|
| DCHECK(url_pref_list);
|
| url_pref_list->Clear();
|
| for (size_t i = 0; i < pref.urls.size(); ++i) {
|
| url_pref_list->Set(static_cast<int>(i),
|
| - new StringValue(pref.urls[i].spec()));
|
| + new base::StringValue(pref.urls[i].spec()));
|
| }
|
| }
|
| }
|
| @@ -141,7 +141,8 @@ SessionStartupPref SessionStartupPref::GetStartupPref(PrefService* prefs) {
|
|
|
| // Always load the urls, even if the pref type isn't URLS. This way the
|
| // preferences panels can show the user their last choice.
|
| - const ListValue* url_list = prefs->GetList(prefs::kURLsToRestoreOnStartup);
|
| + const base::ListValue* url_list =
|
| + prefs->GetList(prefs::kURLsToRestoreOnStartup);
|
| URLListToPref(url_list, &pref);
|
|
|
| return pref;
|
|
|