summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation
diff options
context:
space:
mode:
authorbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-07 09:28:27 +0000
committerbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-07 09:28:27 +0000
commitf89ee34ff55c5998989718af5580af9111bc9c30 (patch)
treec232a57331f150d602d3c370e4342e27bc148ef6 /chrome/browser/geolocation
parent5e0c91897a4926b419a53137b88f8f6649b95cad (diff)
downloadchromium_src-f89ee34ff55c5998989718af5580af9111bc9c30.zip
chromium_src-f89ee34ff55c5998989718af5580af9111bc9c30.tar.gz
chromium_src-f89ee34ff55c5998989718af5580af9111bc9c30.tar.bz2
Fix missing change notifications of UserPrefStore
BUG=74466 TEST=follow steps in bug description Review URL: http://codereview.chromium.org/6604009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77120 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation')
-rw-r--r--chrome/browser/geolocation/geolocation_content_settings_map.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/geolocation/geolocation_content_settings_map.cc b/chrome/browser/geolocation/geolocation_content_settings_map.cc
index 856ff06..ad17257 100644
--- a/chrome/browser/geolocation/geolocation_content_settings_map.cc
+++ b/chrome/browser/geolocation/geolocation_content_settings_map.cc
@@ -22,7 +22,7 @@
#include "chrome/browser/content_settings/content_settings_details.h"
#include "chrome/browser/content_settings/content_settings_pattern.h"
#include "chrome/browser/prefs/pref_service.h"
-#include "chrome/browser/prefs/scoped_pref_update.h"
+#include "chrome/browser/prefs/scoped_user_pref_update.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/notification_service.h"
#include "chrome/common/notification_source.h"
@@ -163,7 +163,7 @@ void GeolocationContentSettingsMap::SetContentSetting(
prefs::kGeolocationContentSettings);
DCHECK(all_settings_dictionary);
- ScopedPrefUpdate update(prefs, prefs::kGeolocationContentSettings);
+ ScopedUserPrefUpdate update(prefs, prefs::kGeolocationContentSettings);
DictionaryValue* requesting_origin_settings_dictionary = NULL;
all_settings_dictionary->GetDictionaryWithoutPathExpansion(
requesting_origin.spec(), &requesting_origin_settings_dictionary);