| 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 daee1bd8d97a9605bd75b0250e5d7e4e3979824a..443ecc83dd36faa3ee80dd03e0510d3a1789d91c 100644
|
| --- a/chrome/browser/geolocation/geolocation_content_settings_map.cc
|
| +++ b/chrome/browser/geolocation/geolocation_content_settings_map.cc
|
| @@ -211,10 +211,10 @@ void GeolocationContentSettingsMap::Observe(
|
| if (type == NotificationType::PREF_CHANGED) {
|
| const std::string& name = *Details<std::string>(details).ptr();
|
| if (name == prefs::kGeolocationDefaultContentSetting) {
|
| - NotifyObservers(ContentSettingsDetails(
|
| - ContentSettingsPattern(),
|
| - CONTENT_SETTINGS_TYPE_DEFAULT,
|
| - ""));
|
| + ContentSettingsDetails details(ContentSettingsPattern(),
|
| + CONTENT_SETTINGS_TYPE_DEFAULT,
|
| + std::string());
|
| + NotifyObservers(details);
|
| }
|
| } else if (NotificationType::PROFILE_DESTROYED == type) {
|
| UnregisterObservers();
|
|
|