summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-01-30 17:20:11 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-01-30 17:20:11 +0000
commitf1e4e86317fd4eecfb83bf0dea0d021ae707c76c (patch)
tree01168feb6f572e84e2fe33912a33e7402ab7ebd5 /third_party/WebKit
parent4a4dcb6257471af7ef23556e481a44f6a68076e4 (diff)
downloadchromium_src-f1e4e86317fd4eecfb83bf0dea0d021ae707c76c.zip
chromium_src-f1e4e86317fd4eecfb83bf0dea0d021ae707c76c.tar.gz
chromium_src-f1e4e86317fd4eecfb83bf0dea0d021ae707c76c.tar.bz2
DevTools: Unable to open Console drawer after disabling "Show Rendering view".
BUG=339371 Review URL: https://codereview.chromium.org/150273002 git-svn-id: svn://svn.chromium.org/blink/trunk@166140 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit')
-rw-r--r--third_party/WebKit/Source/devtools/front_end/Drawer.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/WebKit/Source/devtools/front_end/Drawer.js b/third_party/WebKit/Source/devtools/front_end/Drawer.js
index 04d5a1b..c1de044 100644
--- a/third_party/WebKit/Source/devtools/front_end/Drawer.js
+++ b/third_party/WebKit/Source/devtools/front_end/Drawer.js
@@ -133,6 +133,11 @@ WebInspector.Drawer.prototype = {
{
if (!this._toggleDrawerButton.enabled())
return;
+ if (!this._tabbedPane.hasTab(id)) {
+ // Hidden tab.
+ this._innerShow(immediate);
+ return;
+ }
var viewFactory = this._viewFactory(id);
if (viewFactory)
this._tabbedPane.changeTabView(id, viewFactory.createView());