| Index: third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
|
| index 8fa80f7c57b6b2befd4b150389b7a0be0e4345af..fb351a76ab733b0efbf92b268b38ef66f8901d18 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
|
| @@ -63,7 +63,7 @@ SDK.ConsoleModel = class extends SDK.SDKModel {
|
| /**
|
| * @param {!SDK.ExecutionContext} executionContext
|
| * @param {string} text
|
| - * @param {boolean=} useCommandLineAPI
|
| + * @param {boolean} useCommandLineAPI
|
| */
|
| static evaluateCommandInConsole(executionContext, text, useCommandLineAPI) {
|
| var target = executionContext.target();
|
| @@ -116,7 +116,7 @@ SDK.ConsoleModel = class extends SDK.SDKModel {
|
| if (looksLikeAnObjectLiteral(text))
|
| text = '(' + text + ')';
|
|
|
| - executionContext.evaluate(text, 'console', !!useCommandLineAPI, false, false, true, true, printResult);
|
| + executionContext.evaluate(text, 'console', useCommandLineAPI, false, false, true, true, printResult);
|
| Host.userMetrics.actionTaken(Host.UserMetrics.Action.ConsoleEvaluated);
|
| }
|
|
|
|
|