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

Unified Diff: Source/devtools/front_end/extensions/ExtensionPanel.js

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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: Source/devtools/front_end/extensions/ExtensionPanel.js
diff --git a/Source/devtools/front_end/extensions/ExtensionPanel.js b/Source/devtools/front_end/extensions/ExtensionPanel.js
index bb7aa7fd859bd001482aecb9c4a0dce034d4e7e1..74e5918b9741d3dfe5a9142e4f802989064b968d 100644
--- a/Source/devtools/front_end/extensions/ExtensionPanel.js
+++ b/Source/devtools/front_end/extensions/ExtensionPanel.js
@@ -269,7 +269,7 @@ WebInspector.ExtensionSidebarPane.prototype = {
* @param {string} title
* @param {function(?string=)} callback
* @param {?Protocol.Error} error
- * @param {!RuntimeAgent.RemoteObject} result
+ * @param {?WebInspector.RemoteObject} result
* @param {boolean=} wasThrown
*/
_onEvaluate: function(title, callback, error, result, wasThrown)
@@ -277,7 +277,7 @@ WebInspector.ExtensionSidebarPane.prototype = {
if (error)
callback(error.toString());
else
- this._setObject(WebInspector.runtimeModel.createRemoteObject(result), title, callback);
+ this._setObject(/** @type {!WebInspector.RemoteObject} */ (result), title, callback);
},
_createObjectPropertiesView: function()
« no previous file with comments | « Source/devtools/front_end/elements/StylesSidebarPane.js ('k') | Source/devtools/front_end/extensions/ExtensionServer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698