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

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

Issue 2739983002: DevTools: cleanup script UISourceCodes on executionContextDestroyed (Closed)
Patch Set: ad jsdoc Created 3 years, 9 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 | « third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sdk/Script.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/Script.js b/third_party/WebKit/Source/devtools/front_end/sdk/Script.js
index 10413cfa00d6716524ee482e4b7a5bf9df210df8..df1dbb3217aed7d9d6d07b533369a7eeab121e2a 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/Script.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/Script.js
@@ -65,7 +65,7 @@ SDK.Script = class {
this.endLine = endLine;
this.endColumn = endColumn;
- this._executionContextId = executionContextId;
+ this.executionContextId = executionContextId;
this.hash = hash;
this._isContentScript = isContentScript;
this._isLiveEdit = isLiveEdit;
@@ -135,7 +135,7 @@ SDK.Script = class {
* @return {?SDK.ExecutionContext}
*/
executionContext() {
- return this.debuggerModel.target().runtimeModel.executionContext(this._executionContextId);
+ return this.debuggerModel.target().runtimeModel.executionContext(this.executionContextId);
}
/**
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698