| Index: third_party/WebKit/Source/devtools/front_end/persistence/FileSystemWorkspaceBinding.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/persistence/FileSystemWorkspaceBinding.js b/third_party/WebKit/Source/devtools/front_end/persistence/FileSystemWorkspaceBinding.js
|
| index fec928ab97abeb60429ceea063a348dcfe7358be..22a2ec401720fb389b39ab2425a5b015d2cdd2ad 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/persistence/FileSystemWorkspaceBinding.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/persistence/FileSystemWorkspaceBinding.js
|
| @@ -542,11 +542,12 @@ Persistence.FileSystemWorkspaceBinding.FileSystem = class extends Workspace.Proj
|
|
|
| /**
|
| * @override
|
| - * @param {string} path
|
| + * @param {!Workspace.UISourceCode} uiSourceCode
|
| */
|
| - deleteFile(path) {
|
| - this._fileSystem.deleteFile(path);
|
| - this.removeUISourceCode(path);
|
| + deleteFile(uiSourceCode) {
|
| + var relativePath = this._filePathForUISourceCode(uiSourceCode);
|
| + this._fileSystem.deleteFile(relativePath);
|
| + this.removeUISourceCode(uiSourceCode.url());
|
| }
|
|
|
| /**
|
|
|