| Index: third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
|
| index 94db41060ed8557660e384031c1394840f9207ea..58c6def49e424619adb62bfab9bcaacf1a62423e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
|
| @@ -457,9 +457,13 @@ WebInspector.TextSourceMap.prototype = {
|
| }
|
| sourceLineNumber += this._decodeVLQ(stringCharIterator);
|
| sourceColumnNumber += this._decodeVLQ(stringCharIterator);
|
| - if (!this._isSeparator(stringCharIterator.peek()))
|
| - nameIndex += this._decodeVLQ(stringCharIterator);
|
|
|
| + if (!stringCharIterator.hasNext() || this._isSeparator(stringCharIterator.peek())) {
|
| + this._mappings.push(new WebInspector.SourceMapEntry(lineNumber, columnNumber, sourceURL, sourceLineNumber, sourceColumnNumber));
|
| + continue;
|
| + }
|
| +
|
| + nameIndex += this._decodeVLQ(stringCharIterator);
|
| this._mappings.push(new WebInspector.SourceMapEntry(lineNumber, columnNumber, sourceURL, sourceLineNumber, sourceColumnNumber, names[nameIndex]));
|
| }
|
|
|
|
|