Index: chrome/browser/chromeos/preferences.cc |
diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc |
index 602239a1ffe3f05088aecdf8f70fc4176b46820d..c601805c8a9c07a3e91a000e5998a9caa04ed3c3 100644 |
--- a/chrome/browser/chromeos/preferences.cc |
+++ b/chrome/browser/chromeos/preferences.cc |
@@ -28,6 +28,7 @@ |
#include "chrome/browser/chromeos/system/input_device_settings.h" |
#include "chrome/browser/download/download_prefs.h" |
#include "chrome/browser/prefs/pref_service_syncable.h" |
+#include "chrome/browser/prefs/pref_service_syncable_util.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
#include "chromeos/chromeos_switches.h" |
@@ -325,7 +326,7 @@ void Preferences::InitUserPrefs(PrefServiceSyncable* prefs) { |
void Preferences::Init(Profile* profile, const user_manager::User* user) { |
DCHECK(profile); |
DCHECK(user); |
- PrefServiceSyncable* prefs = PrefServiceSyncable::FromProfile(profile); |
+ PrefServiceSyncable* prefs = PrefServiceSyncableFromProfile(profile); |
// This causes OnIsSyncingChanged to be called when the value of |
// PrefService::IsSyncing() changes. |
prefs->AddObserver(this); |