| Index: third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js b/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js
|
| index d519b1a48154f028ed0a777ee04dc33bba5addc8..e827132b4ad9754666fd3e310557735f2cdb7ecd 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js
|
| @@ -192,17 +192,18 @@ WebInspector.FileSystemWorkspaceBinding.fileSystemPath = function(projectId)
|
| */
|
| WebInspector.FileSystemWorkspaceBinding.FileSystem = function(fileSystemWorkspaceBinding, isolatedFileSystem, workspace)
|
| {
|
| - this._fileSystemWorkspaceBinding = fileSystemWorkspaceBinding;
|
| - this._fileSystem = isolatedFileSystem;
|
| - this._fileSystemBaseURL = this._fileSystem.path() + "/";
|
| - this._fileSystemPath = this._fileSystem.path();
|
| -
|
| - var id = WebInspector.FileSystemWorkspaceBinding.projectId(this._fileSystemPath);
|
| + var fileSystemPath = isolatedFileSystem.path();
|
| + var id = WebInspector.FileSystemWorkspaceBinding.projectId(fileSystemPath);
|
| console.assert(!workspace.project(id));
|
| + var displayName = fileSystemPath.substr(fileSystemPath.lastIndexOf("/") + 1);
|
|
|
| - var displayName = this._fileSystemPath.substr(this._fileSystemPath.lastIndexOf("/") + 1);
|
| WebInspector.ProjectStore.call(this, workspace, id, WebInspector.projectTypes.FileSystem, displayName);
|
|
|
| + this._fileSystem = isolatedFileSystem;
|
| + this._fileSystemBaseURL = this._fileSystem.path() + "/";
|
| + this._fileSystemWorkspaceBinding = fileSystemWorkspaceBinding;
|
| + this._fileSystemPath = fileSystemPath;
|
| +
|
| workspace.addProject(this);
|
| this.populate();
|
| };
|
|
|