Index: base/prefs/testing_pref_service.h |
diff --git a/base/prefs/testing_pref_service.h b/base/prefs/testing_pref_service.h |
index fee19817fc4cc5f149d57322fa407959c2088f9a..ff15c4d8e6253e9bfd6e15af33556f53e1aa2865 100644 |
--- a/base/prefs/testing_pref_service.h |
+++ b/base/prefs/testing_pref_service.h |
@@ -112,7 +112,7 @@ template<class SuperPrefService, class ConstructionPrefRegistry> |
const Value* TestingPrefServiceBase< |
SuperPrefService, ConstructionPrefRegistry>::GetManagedPref( |
const char* path) const { |
- return GetPref(managed_prefs_, path); |
+ return GetPref(managed_prefs_.get(), path); |
} |
template<class SuperPrefService, class ConstructionPrefRegistry> |
@@ -133,7 +133,7 @@ template<class SuperPrefService, class ConstructionPrefRegistry> |
const Value* TestingPrefServiceBase< |
SuperPrefService, ConstructionPrefRegistry>::GetUserPref( |
const char* path) const { |
- return GetPref(user_prefs_, path); |
+ return GetPref(user_prefs_.get(), path); |
} |
template<class SuperPrefService, class ConstructionPrefRegistry> |