| Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| index 198a93a8e4ef0dea29f75d900e276e611f449bae..4550d03085188599497d43f073003e30b16a6a3c 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| @@ -300,7 +300,7 @@ WebInspector.Main.prototype = {
|
|
|
| /**
|
| * @param {function(string)} onMessage
|
| - * @return {!Promise<!InspectorBackendClass.Connection>}
|
| + * @return {!Promise<!Protocol.Connection>}
|
| */
|
| _interceptMainConnection: function(onMessage)
|
| {
|
| @@ -312,8 +312,8 @@ WebInspector.Main.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {!InspectorBackendClass.Connection.Params} params
|
| - * @return {!InspectorBackendClass.Connection}
|
| + * @param {!Protocol.Connection.Params} params
|
| + * @return {!Protocol.Connection}
|
| */
|
| _createMainConnection: function(params)
|
| {
|
| @@ -959,7 +959,7 @@ WebInspector.Main.InspectedNodeRevealer.prototype = {
|
| WebInspector.sendOverProtocol = function(method, params)
|
| {
|
| return new Promise((resolve, reject) => {
|
| - InspectorBackendClass.sendRawMessageForTesting(method, params, (err, result) => {
|
| + Protocol.sendRawMessageForTesting(method, params, (err, result) => {
|
| if (err)
|
| return reject(err);
|
| return resolve(result);
|
|
|