From 30fc9d2000b32b451612c51acba4635c593b1dc5 Mon Sep 17 00:00:00 2001 From: "scherkus@chromium.org" Date: Fri, 19 Dec 2008 01:09:45 +0000 Subject: Changed SessionStartupPref to use UTF-8 strings. Review URL: http://codereview.chromium.org/14875 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7283 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/session_startup_pref.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/session_startup_pref.cc') diff --git a/chrome/browser/session_startup_pref.cc b/chrome/browser/session_startup_pref.cc index d99043d..207863a 100644 --- a/chrome/browser/session_startup_pref.cc +++ b/chrome/browser/session_startup_pref.cc @@ -87,9 +87,9 @@ SessionStartupPref SessionStartupPref::GetStartupPref(PrefService* prefs) { for (size_t i = 0; i < url_pref_list->GetSize(); ++i) { Value* value = NULL; if (url_pref_list->Get(i, &value)) { - std::wstring url_text; + std::string url_text; if (value->GetAsString(&url_text)) - pref.urls.push_back(GURL(WideToUTF8(url_text))); + pref.urls.push_back(GURL(url_text)); } } -- cgit v1.1