summaryrefslogtreecommitdiffstats
path: root/chromium/base/prefs/scoped_user_pref_update.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/prefs/scoped_user_pref_update.h')
-rw-r--r--chromium/base/prefs/scoped_user_pref_update.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/base/prefs/scoped_user_pref_update.h b/chromium/base/prefs/scoped_user_pref_update.h
index 82d6739dd32..f8bebfe435c 100644
--- a/chromium/base/prefs/scoped_user_pref_update.h
+++ b/chromium/base/prefs/scoped_user_pref_update.h
@@ -33,7 +33,7 @@ namespace subtle {
// PrefService::ReportUserPrefChanged.
class BASE_PREFS_EXPORT ScopedUserPrefUpdateBase : public base::NonThreadSafe {
protected:
- ScopedUserPrefUpdateBase(PrefService* service, const char* path);
+ ScopedUserPrefUpdateBase(PrefService* service, const std::string& path);
// Calls Notify().
~ScopedUserPrefUpdateBase();
@@ -66,7 +66,7 @@ class BASE_PREFS_EXPORT ScopedUserPrefUpdateBase : public base::NonThreadSafe {
template <typename T, base::Value::Type type_enum_value>
class ScopedUserPrefUpdate : public subtle::ScopedUserPrefUpdateBase {
public:
- ScopedUserPrefUpdate(PrefService* service, const char* path)
+ ScopedUserPrefUpdate(PrefService* service, const std::string& path)
: ScopedUserPrefUpdateBase(service, path) {}
// Triggers an update notification if Get() was called.