Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js b/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js |
| index 3793814e5fde8c022bde9a27fdb316e0fc6c6fa9..47da008072770a59aae35de3849d5a05598813a6 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js |
| @@ -503,7 +503,7 @@ WebInspector.RemoteObjectImpl.prototype = { |
| /** |
| * @param {function(?)} fulfill |
| * @param {function(*)} reject |
| - * @this {WebInspector.RemoteObject} |
| + * @this {WebInspector.RemoteObjectImpl} |
| */ |
| function eventListeners(fulfill, reject) |
| { |
| @@ -521,7 +521,7 @@ WebInspector.RemoteObjectImpl.prototype = { |
| this.target().domdebuggerAgent().getEventListeners(this._objectId, mycallback.bind(this)); |
| /** |
| - * @this {!WebInspector.RemoteObject} |
| + * @this {!WebInspector.RemoteObjectImpl} |
|
pfeldman
2016/07/22 18:02:40
While you are here, remove !
dgozman
2016/07/22 21:21:19
Done.
|
| * @param {?Protocol.Error} error |
| * @param {!Array<!DOMDebuggerAgent.EventListener>} payloads |
| */ |
| @@ -535,7 +535,7 @@ WebInspector.RemoteObjectImpl.prototype = { |
| } |
| /** |
| - * @this {!WebInspector.RemoteObject} |
| + * @this {!WebInspector.RemoteObjectImpl} |
|
pfeldman
2016/07/22 18:02:40
ditto
|
| * @param {!DOMDebuggerAgent.EventListener} payload |
| */ |
| function createEventListener(payload) |
| @@ -547,7 +547,7 @@ WebInspector.RemoteObjectImpl.prototype = { |
| payload.passive, |
| payload.handler ? this.target().runtimeModel.createRemoteObject(payload.handler) : null, |
| payload.originalHandler ? this.target().runtimeModel.createRemoteObject(payload.originalHandler) : null, |
| - WebInspector.DebuggerModel.Location.fromPayload(this._debuggerModel, payload.location), |
| + /** @type {!WebInspector.DebuggerModel.Location} */ (this._debuggerModel.createRawLocationByScriptId(payload.scriptId, payload.lineNumber, payload.columnNumber)), |
| payload.removeFunction ? this.target().runtimeModel.createRemoteObject(payload.removeFunction) : null); |
| } |
| } |