| 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 be868e01f19c9ee976a542492de58852c7e3dd26..8f7686b5eb2cb8aeb0b548dd2cd07871e0ed1021 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
|
| @@ -108,6 +108,12 @@ WebInspector.SourceMap.prototype = {
|
| sourceContentProvider: function(sourceURL, contentType) { },
|
|
|
| /**
|
| + * @param {string} sourceURL
|
| + * @return {?string}
|
| + */
|
| + embeddedContentByURL: function(sourceURL) { },
|
| +
|
| + /**
|
| * @param {number} lineNumber in compiled resource
|
| * @param {number} columnNumber in compiled resource
|
| * @return {?WebInspector.SourceMapEntry}
|
| @@ -265,6 +271,18 @@ WebInspector.TextSourceMap.prototype = {
|
|
|
| /**
|
| * @override
|
| + * @param {string} sourceURL
|
| + * @return {?string}
|
| + */
|
| + embeddedContentByURL: function(sourceURL)
|
| + {
|
| + if (!this._sourceInfos.has(sourceURL))
|
| + return null;
|
| + return this._sourceInfos.get(sourceURL).content;
|
| + },
|
| +
|
| + /**
|
| + * @override
|
| * @return {boolean}
|
| */
|
| editable: function()
|
|
|