| Index: third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js b/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
|
| index 82d1d0dc84beecbaa65e725811ee0e2351277fed..9ecfb589238ab08853be0b2db51c018566bbd179 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
|
| @@ -206,7 +206,7 @@ WebInspector.ConsolePrompt.prototype = {
|
| var currentExecutionContext = WebInspector.context.flavor(WebInspector.ExecutionContext);
|
| if (currentExecutionContext) {
|
| WebInspector.ConsoleModel.evaluateCommandInConsole(currentExecutionContext, text, useCommandLineAPI);
|
| - if (WebInspector.inspectorView.currentPanel() && WebInspector.inspectorView.currentPanel().name === "console")
|
| + if (WebInspector.ConsolePanel.instance().isShowing())
|
| WebInspector.userMetrics.actionTaken(WebInspector.UserMetrics.Action.CommandEvaluatedInConsolePanel);
|
| }
|
| },
|
|
|