summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/dns_global.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/dns_global.cc')
-rw-r--r--chrome/browser/net/dns_global.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/net/dns_global.cc b/chrome/browser/net/dns_global.cc
index eb8d79f..096af58 100644
--- a/chrome/browser/net/dns_global.cc
+++ b/chrome/browser/net/dns_global.cc
@@ -251,7 +251,7 @@ void PrefetchObserver::SaveStartupListAsPref(PrefService* local_state) {
for (Results::iterator it = first_resolutions->begin();
it != first_resolutions->end();
it++) {
- const std::wstring hostname = ASCIIToWide(it->first);
+ const std::string hostname = it->first;
startup_list->Append(Value::CreateStringValue(hostname));
}
}
@@ -440,9 +440,9 @@ void DnsPrefetchHostNamesAtStartup(PrefService* user_prefs,
for (ListValue::iterator it = startup_list->begin();
it != startup_list->end();
it++) {
- std::wstring w_hostname;
- (*it)->GetAsString(&w_hostname);
- hostnames.push_back(WideToASCII(w_hostname));
+ std::string hostname;
+ (*it)->GetAsString(&hostname);
+ hostnames.push_back(hostname);
}
}