Index: chrome/browser/about_flags_unittest.cc |
diff --git a/chrome/browser/about_flags_unittest.cc b/chrome/browser/about_flags_unittest.cc |
index cff2597aade89476c032d6c726db880e42258f66..79322c9cca5eed0bab3e550e56d6df10bf1e901e 100644 |
--- a/chrome/browser/about_flags_unittest.cc |
+++ b/chrome/browser/about_flags_unittest.cc |
@@ -6,6 +6,7 @@ |
#include "base/utf_string_conversions.h" |
#include "base/values.h" |
#include "chrome/browser/about_flags.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/test/base/testing_pref_service.h" |
@@ -86,7 +87,7 @@ static Experiment kExperiments[] = { |
class AboutFlagsTest : public ::testing::Test { |
protected: |
AboutFlagsTest() { |
- prefs_.RegisterListPref(prefs::kEnabledLabsExperiments); |
+ prefs_.registry()->RegisterListPref(prefs::kEnabledLabsExperiments); |
testing::ClearState(); |
} |