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 2e47e9903796835fa423f3c965b4ecdfedec35e9..1a019d4efdebdb10264408ba2df824e8c6af1a1e 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sdk/Script.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/Script.js |
@@ -55,7 +55,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; |
@@ -97,7 +97,7 @@ SDK.Script = class { |
* @return {?SDK.ExecutionContext} |
*/ |
executionContext() { |
- return this.debuggerModel.runtimeModel().executionContext(this._executionContextId); |
+ return this.debuggerModel.runtimeModel().executionContext(this.executionContextId); |
} |
/** |
@@ -260,16 +260,6 @@ SDK.Script = class { |
} |
/** |
- * @param {string} sourceMapURL |
- */ |
- addSourceMapURL(sourceMapURL) { |
- if (this.sourceMapURL) |
- return; |
- this.sourceMapURL = sourceMapURL; |
- this.debuggerModel.dispatchEventToListeners(SDK.DebuggerModel.Events.SourceMapURLAdded, this); |
- } |
- |
- /** |
* @return {boolean} |
*/ |
isAnonymousScript() { |