summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-19 01:09:45 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-19 01:09:45 +0000
commit30fc9d2000b32b451612c51acba4635c593b1dc5 (patch)
treea208fda660dd00d97e60edacb7a72b003f7ac1dc /chrome/browser
parent330c8156279b9d60e1924d03556bfba7d62494f4 (diff)
downloadchromium_src-30fc9d2000b32b451612c51acba4635c593b1dc5.zip
chromium_src-30fc9d2000b32b451612c51acba4635c593b1dc5.tar.gz
chromium_src-30fc9d2000b32b451612c51acba4635c593b1dc5.tar.bz2
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
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/session_startup_pref.cc4
1 files changed, 2 insertions, 2 deletions
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));
}
}