Index: chrome/browser/ui/tabs/tab_strip_layout_type_prefs.cc |
diff --git a/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.cc b/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.cc |
index ef380d560bfcc569ed671a91d3ccace55f5126c9..da69e8de3ccd7f5069adec28e914da3e31acdb57 100644 |
--- a/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.cc |
+++ b/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.cc |
@@ -4,17 +4,16 @@ |
#include "chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h" |
-#include "chrome/browser/prefs/pref_service.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/ui/tabs/tab_strip_layout_type.h" |
#include "chrome/common/pref_names.h" |
namespace chrome { |
-void RegisterTabStripLayoutTypePrefs(PrefServiceSimple* local_state) { |
+void RegisterTabStripLayoutTypePrefs(PrefRegistrySimple* registry) { |
// This value is device dependant, so it goes in local state. |
- local_state->RegisterIntegerPref( |
- prefs::kTabStripLayoutType, |
- static_cast<int>(TAB_STRIP_LAYOUT_SHRINK)); |
+ registry->RegisterIntegerPref(prefs::kTabStripLayoutType, |
+ static_cast<int>(TAB_STRIP_LAYOUT_SHRINK)); |
} |
} // namespace chrome |