summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/prefs')
-rw-r--r--chrome/browser/prefs/browser_prefs.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index efce02e..defb4cd 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -239,12 +239,12 @@ void MigrateBrowserPrefs(PrefService* user_prefs, PrefService* local_state) {
if ((current_version & WINDOWS_PREFS) == 0) {
// Migrate the devtools split location preference.
- local_state->RegisterIntegerPref(prefs::kDevToolsSplitLocation, -1);
- if (local_state->HasPrefPath(prefs::kDevToolsSplitLocation)) {
- user_prefs->SetInteger(prefs::kDevToolsSplitLocation,
- local_state->GetInteger(prefs::kDevToolsSplitLocation));
+ local_state->RegisterIntegerPref(prefs::kDevToolsHSplitLocation, -1);
+ if (local_state->HasPrefPath(prefs::kDevToolsHSplitLocation)) {
+ user_prefs->SetInteger(prefs::kDevToolsHSplitLocation,
+ local_state->GetInteger(prefs::kDevToolsHSplitLocation));
}
- local_state->ClearPref(prefs::kDevToolsSplitLocation);
+ local_state->ClearPref(prefs::kDevToolsHSplitLocation);
// Migrate the browser window placement preference.
local_state->RegisterDictionaryPref(prefs::kBrowserWindowPlacement);