Index: chrome/browser/task_manager/task_manager.cc |
diff --git a/chrome/browser/task_manager/task_manager.cc b/chrome/browser/task_manager/task_manager.cc |
index f888dc09291fd7c8fa6d5d22fbb86b1345a6b4d3..ec9662eceded9dc85191fc536c1ad02165000368 100644 |
--- a/chrome/browser/task_manager/task_manager.cc |
+++ b/chrome/browser/task_manager/task_manager.cc |
@@ -21,7 +21,7 @@ |
#include "chrome/browser/extensions/extension_host.h" |
#include "chrome/browser/extensions/extension_process_manager.h" |
#include "chrome/browser/extensions/extension_system.h" |
-#include "chrome/browser/prefs/pref_service.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/task_manager/task_manager_resource_providers.h" |
#include "chrome/browser/task_manager/task_manager_worker_resource_provider.h" |
@@ -1388,8 +1388,8 @@ content::WebContents* TaskManager::Resource::GetWebContents() const { |
bool TaskManager::Resource::IsBackground() const { return false; } |
// static |
-void TaskManager::RegisterPrefs(PrefServiceSimple* prefs) { |
- prefs->RegisterDictionaryPref(prefs::kTaskManagerWindowPlacement); |
+void TaskManager::RegisterPrefs(PrefRegistrySimple* registry) { |
+ registry->RegisterDictionaryPref(prefs::kTaskManagerWindowPlacement); |
} |
bool TaskManager::IsBrowserProcess(int index) const { |