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

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

Issue 199633011: DevTools: switching from Console tab does not restore console in the drawer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ConsolePanel.js
diff --git a/Source/devtools/front_end/ConsolePanel.js b/Source/devtools/front_end/ConsolePanel.js
index 19f385a5424479f01740e465031c35d70050ca70..97ee8d8627a25638137e6dbaf98f113b8bc05357 100644
--- a/Source/devtools/front_end/ConsolePanel.js
+++ b/Source/devtools/front_end/ConsolePanel.js
@@ -84,6 +84,8 @@ WebInspector.ConsolePanel.WrapperView = function()
WebInspector.VBox.call(this);
this.element.classList.add("console-view-wrapper");
+ WebInspector.ConsolePanel.WrapperView._instance = this;
+
this._view = WebInspector.ConsolePanel._view();
// FIXME: this won't be needed once drawer becomes a view.
this.wasShown();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698