Index: chrome/browser/geolocation/geolocation_content_settings_map.cc |
diff --git a/chrome/browser/geolocation/geolocation_content_settings_map.cc b/chrome/browser/geolocation/geolocation_content_settings_map.cc |
index 597d408cd82f8df11bc25f904594453ae799ffd6..b9e84dc5ac749b8b95992b86271ba7afdf91affa 100644 |
--- a/chrome/browser/geolocation/geolocation_content_settings_map.cc |
+++ b/chrome/browser/geolocation/geolocation_content_settings_map.cc |
@@ -67,7 +67,7 @@ ContentSetting GeolocationContentSettingsMap::GetContentSetting( |
if (all_settings_dictionary != NULL) { |
DictionaryValue* requesting_origin_settings; |
if (all_settings_dictionary->GetDictionaryWithoutPathExpansion( |
- UTF8ToWide(requesting_origin.spec()), &requesting_origin_settings)) { |
+ requesting_origin.spec(), &requesting_origin_settings)) { |
int setting; |
if (requesting_origin_settings->GetIntegerWithoutPathExpansion( |
UTF8ToWide(embedding_origin.spec()), &setting)) |
@@ -75,7 +75,7 @@ ContentSetting GeolocationContentSettingsMap::GetContentSetting( |
// Check for any-embedder setting |
if (requesting_origin != embedding_origin && |
requesting_origin_settings->GetIntegerWithoutPathExpansion( |
- L"", &setting)) |
+ "", &setting)) |
return IntToContentSetting(setting); |
} |
} |