summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation/geolocation_permission_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/geolocation/geolocation_permission_context.cc')
-rw-r--r--chrome/browser/geolocation/geolocation_permission_context.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/geolocation/geolocation_permission_context.cc b/chrome/browser/geolocation/geolocation_permission_context.cc
index 46d5bde..4aec91f 100644
--- a/chrome/browser/geolocation/geolocation_permission_context.cc
+++ b/chrome/browser/geolocation/geolocation_permission_context.cc
@@ -290,7 +290,8 @@ void GeolocationInfoBarQueueController::ShowQueuedInfoBar(
tab_contents, this,
render_process_id, render_view_id,
i->bridge_id, i->requesting_frame,
- profile_->GetPrefs()->GetString(prefs::kAcceptLanguages));
+ UTF8ToWide(profile_->GetPrefs()->GetString(
+ prefs::kAcceptLanguages)));
tab_contents->AddInfoBar(i->infobar_delegate);
break;
}