Index: chrome/browser/net/http_server_properties_manager_unittest.cc |
diff --git a/chrome/browser/net/http_server_properties_manager_unittest.cc b/chrome/browser/net/http_server_properties_manager_unittest.cc |
index 6495c23f0707bf2c46bf49f53d667777e388c5fa..a883900d88aee89efe09da9459cc6a4087681556 100644 |
--- a/chrome/browser/net/http_server_properties_manager_unittest.cc |
+++ b/chrome/browser/net/http_server_properties_manager_unittest.cc |
@@ -7,6 +7,7 @@ |
#include "base/basictypes.h" |
#include "base/message_loop.h" |
#include "base/values.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/test/base/testing_pref_service.h" |
#include "content/public/test/test_browser_thread.h" |
@@ -84,7 +85,8 @@ class HttpServerPropertiesManagerTest : public testing::Test { |
} |
virtual void SetUp() OVERRIDE { |
- pref_service_.RegisterDictionaryPref(prefs::kHttpServerProperties); |
+ pref_service_.registry()->RegisterDictionaryPref( |
+ prefs::kHttpServerProperties); |
http_server_props_manager_.reset( |
new StrictMock<TestingHttpServerPropertiesManager>(&pref_service_)); |
ExpectCacheUpdate(); |