Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1231)

Unified Diff: Source/devtools/front_end/ui/SplitView.js

Issue 1085253003: Revert of Revert of DevTools: allow storing devtools preferences on the browser side. [blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/ui/SplitView.js
diff --git a/Source/devtools/front_end/ui/SplitView.js b/Source/devtools/front_end/ui/SplitView.js
index 2253cfb720e42feb1a91f1032f65e9717287a14f..5ee6b48a4cd14888bedcbe8292ce86f2b7bef742 100644
--- a/Source/devtools/front_end/ui/SplitView.js
+++ b/Source/devtools/front_end/ui/SplitView.js
@@ -797,7 +797,7 @@
_restoreAndApplyShowModeFromSettings: function()
{
var orientationState = this._settingForOrientation();
- this._savedShowMode = orientationState && orientationState.showMode ? orientationState.showMode : WebInspector.SplitView.ShowMode.Both;
+ this._savedShowMode = orientationState && orientationState.showMode ? orientationState.showMode : this._showMode;
this._showMode = this._savedShowMode;
switch (this._savedShowMode) {

Powered by Google App Engine
This is Rietveld 408576698