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

Unified Diff: Source/devtools/front_end/sdk/RuntimeModel.js

Issue 400633003: DevTools: introduce multitarget model listeners (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/devtools/front_end/sdk/ResourceTreeModel.js ('k') | Source/devtools/front_end/sdk/Target.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/RuntimeModel.js
diff --git a/Source/devtools/front_end/sdk/RuntimeModel.js b/Source/devtools/front_end/sdk/RuntimeModel.js
index 043a0131d80eec76e289b7ac250d518bccd6c623..41e539b4233b85546076fffa31b4d03878e051d9 100644
--- a/Source/devtools/front_end/sdk/RuntimeModel.js
+++ b/Source/devtools/front_end/sdk/RuntimeModel.js
@@ -30,12 +30,12 @@
/**
* @constructor
- * @extends {WebInspector.SDKObject}
+ * @extends {WebInspector.SDKModel}
* @param {!WebInspector.Target} target
*/
WebInspector.RuntimeModel = function(target)
{
- WebInspector.SDKObject.call(this, target);
+ WebInspector.SDKModel.call(this, WebInspector.RuntimeModel, target);
this._debuggerModel = target.debuggerModel;
this._agent = target.runtimeAgent();
@@ -129,7 +129,7 @@ WebInspector.RuntimeModel.prototype = {
return new WebInspector.RemoteObjectProperty(name, this.createRemoteObjectFromPrimitiveValue(value));
},
- __proto__: WebInspector.SDKObject.prototype
+ __proto__: WebInspector.SDKModel.prototype
}
/**
« no previous file with comments | « Source/devtools/front_end/sdk/ResourceTreeModel.js ('k') | Source/devtools/front_end/sdk/Target.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698