| Index: third_party/WebKit/Source/devtools/front_end/common/TextRange.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/common/TextRange.js b/third_party/WebKit/Source/devtools/front_end/common/TextRange.js
|
| index 3dcb0baec18a28888164beaf80afeb6a6baaa017..bb99e8129092874e4598d1aedaebc7a40027d04f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/common/TextRange.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/common/TextRange.js
|
| @@ -55,6 +55,14 @@ WebInspector.TextRange = class {
|
| }
|
|
|
| /**
|
| + * @param {number} line
|
| + * @return {!WebInspector.TextRange}
|
| + */
|
| + static createFromLine(line) {
|
| + return new WebInspector.TextRange(line, 0, line + 1, 0);
|
| + }
|
| +
|
| + /**
|
| * @param {!Object} serializedTextRange
|
| * @return {!WebInspector.TextRange}
|
| */
|
|
|