Chromium Code Reviews| 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..15c46294763ce9cbcbdfc593040613d1aef80852 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,17 @@ |
| #include "chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h" |
| +#include "chrome/browser/prefs/pref_registry_simple.h" |
| #include "chrome/browser/prefs/pref_service.h" |
|
Mattias Nissler (ping if slow)
2013/01/31 14:50:45
required?
Jói
2013/01/31 16:23:37
Done.
|
| #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 |