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

Unified Diff: Source/devtools/front_end/InspectedPagePlaceholder.js

Issue 185943004: DevTools: Do not save split view size on show mode changes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 6 years, 9 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
« no previous file with comments | « LayoutTests/inspector/split-view-expected.txt ('k') | Source/devtools/front_end/SplitView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/InspectedPagePlaceholder.js
diff --git a/Source/devtools/front_end/InspectedPagePlaceholder.js b/Source/devtools/front_end/InspectedPagePlaceholder.js
index 0f130f71f1d8c229733fa90587b53bd2a900ed46..ff987347d2d09a02b232a56be12af8d95eef0b7e 100644
--- a/Source/devtools/front_end/InspectedPagePlaceholder.js
+++ b/Source/devtools/front_end/InspectedPagePlaceholder.js
@@ -84,7 +84,7 @@ WebInspector.InspectedPagePlaceholder.prototype = {
var view = this;
while (view) {
if ((view instanceof WebInspector.SplitView) && view.sidebarSide())
- insets[view.sidebarSide()] += view.desiredSidebarSize();
+ insets[view.sidebarSide()] += view.preferredSidebarSize();
view = view.parentView();
}
« no previous file with comments | « LayoutTests/inspector/split-view-expected.txt ('k') | Source/devtools/front_end/SplitView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698