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..eaf3408a1dde36eb41950813a91a198aafba447f 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sdk/Script.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/Script.js |
@@ -40,23 +40,13 @@ SDK.Script = class { |
* @param {string} hash |
* @param {boolean} isContentScript |
* @param {boolean} isLiveEdit |
- * @param {string=} sourceMapURL |
- * @param {boolean=} hasSourceURL |
+ * @param {string|undefined} sourceMapURL |
+ * @param {boolean} hasSourceURL |
+ * @param {number} length |
*/ |
constructor( |
- debuggerModel, |
- scriptId, |
- sourceURL, |
- startLine, |
- startColumn, |
- endLine, |
- endColumn, |
- executionContextId, |
- hash, |
- isContentScript, |
- isLiveEdit, |
- sourceMapURL, |
- hasSourceURL) { |
+ debuggerModel, scriptId, sourceURL, startLine, startColumn, endLine, endColumn, executionContextId, hash, |
+ isContentScript, isLiveEdit, sourceMapURL, hasSourceURL, length) { |
this.debuggerModel = debuggerModel; |
this.scriptId = scriptId; |
this.sourceURL = sourceURL; |
@@ -71,6 +61,7 @@ SDK.Script = class { |
this._isLiveEdit = isLiveEdit; |
this.sourceMapURL = sourceMapURL; |
this.hasSourceURL = hasSourceURL; |
+ this.contentLength = length; |
this._originalContentProvider = null; |
this._originalSource = null; |
} |