| Index: third_party/WebKit/Source/devtools/front_end/persistence/Automapping.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/persistence/Automapping.js b/third_party/WebKit/Source/devtools/front_end/persistence/Automapping.js
|
| index fb1afe9e43d7de22110db92d657dc949ee61afb8..e1df48b7ffbfa1f950d3749f1b2d119d0511ae97 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/persistence/Automapping.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/persistence/Automapping.js
|
| @@ -198,6 +198,12 @@ WebInspector.Automapping = class {
|
| * @return {!Promise<?WebInspector.PersistenceBinding>}
|
| */
|
| _createBinding(networkSourceCode) {
|
| + if (networkSourceCode.url().startsWith('file://')) {
|
| + var fileSourceCode = this._fileSystemUISourceCodes.get(networkSourceCode.url());
|
| + var binding = fileSourceCode ? new WebInspector.PersistenceBinding(networkSourceCode, fileSourceCode, false) : null;
|
| + return Promise.resolve(binding);
|
| + }
|
| +
|
| var networkPath = WebInspector.ParsedURL.extractPath(networkSourceCode.url());
|
| if (networkPath === null)
|
| return Promise.resolve(/** @type {?WebInspector.PersistenceBinding} */ (null));
|
|
|