Index: chrome/browser/prefs/pref_notifier_impl_unittest.cc |
diff --git a/chrome/browser/prefs/pref_notifier_impl_unittest.cc b/chrome/browser/prefs/pref_notifier_impl_unittest.cc |
index 3d3057ca67c9810e7b2dd45ec8d0d44f5d76e837..b655aab1f803a19d0e5a42dabcb575582ea824a3 100644 |
--- a/chrome/browser/prefs/pref_notifier_impl_unittest.cc |
+++ b/chrome/browser/prefs/pref_notifier_impl_unittest.cc |
@@ -7,6 +7,7 @@ |
#include "base/prefs/pref_observer.h" |
#include "chrome/browser/prefs/mock_pref_change_callback.h" |
#include "chrome/browser/prefs/pref_notifier_impl.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/prefs/pref_value_store.h" |
#include "chrome/common/chrome_notification_types.h" |
@@ -93,10 +94,10 @@ class PrefObserverMock : public PrefObserver { |
class PrefNotifierTest : public testing::Test { |
protected: |
virtual void SetUp() { |
- pref_service_.RegisterBooleanPref(kChangedPref, |
- true); |
- pref_service_.RegisterBooleanPref(kUnchangedPref, |
- true); |
+ pref_service_.registry()->RegisterBooleanPref(kChangedPref, |
+ true); |
+ pref_service_.registry()->RegisterBooleanPref(kUnchangedPref, |
+ true); |
Mattias Nissler (ping if slow)
2013/01/25 14:57:11
again, it would be nice if we could just use a Cre
Jói
2013/01/29 16:10:02
Haven't started looking at this yet, but I plan to
|
} |
TestingPrefServiceSimple pref_service_; |