Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js

Issue 2159633002: [DevTools] Generate public versions of protocol classes to be exposed in v8_inspector/public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra files Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..08191abaa717d63e63dafb58424bb89dd82842d0 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}
* @param {?Protocol.Error} error
* @param {!Array<!DOMDebuggerAgent.EventListener>} payloads
*/
@@ -535,7 +535,7 @@ WebInspector.RemoteObjectImpl.prototype = {
}
/**
- * @this {!WebInspector.RemoteObject}
+ * @this {WebInspector.RemoteObjectImpl}
* @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);
}
}

Powered by Google App Engine
This is Rietveld 408576698