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

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

Issue 352953002: DevTools: properly support targets in LiveEditSupport (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test Created 6 years, 6 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/sdk/Target.js
diff --git a/Source/devtools/front_end/sdk/Target.js b/Source/devtools/front_end/sdk/Target.js
index 44b3a074831f2b64cfc713efd5ecb3584c7d73a1..3c62942fef2031359ec55a96a9cb59e4a1d8c5e7 100644
--- a/Source/devtools/front_end/sdk/Target.js
+++ b/Source/devtools/front_end/sdk/Target.js
@@ -146,7 +146,8 @@ WebInspector.Target.prototype = {
if (!WebInspector.cpuProfilerModel)
WebInspector.cpuProfilerModel = this.cpuProfilerModel;
- this._debuggerScriptMapping = new WebInspector.DebuggerScriptMapping(this.debuggerModel, WebInspector.workspace, WebInspector.networkWorkspaceBinding);
+ /** @type {!WebInspector.DebuggerScriptMapping} */
+ this.debuggerScriptMapping = new WebInspector.DebuggerScriptMapping(this.debuggerModel, WebInspector.workspace, WebInspector.networkWorkspaceBinding);
if (callback)
callback(this);
@@ -183,7 +184,7 @@ WebInspector.Target.prototype = {
{
this.debuggerModel.dispose();
this.networkManager.dispose();
- this._debuggerScriptMapping.dispose();
+ this.debuggerScriptMapping.dispose();
},
__proto__: Protocol.Agents.prototype
« no previous file with comments | « Source/devtools/front_end/sdk/ResourceScriptMapping.js ('k') | Source/devtools/front_end/sources/JavaScriptSourceFrame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698