Index: Source/devtools/front_end/sources/SourcesView.js |
diff --git a/Source/devtools/front_end/sources/SourcesView.js b/Source/devtools/front_end/sources/SourcesView.js |
index 18d4198187c6d6ecd3b7244bafccaefb8b4c3858..12257d2b3d0408048bc8f3490a3cf7315df82d00 100644 |
--- a/Source/devtools/front_end/sources/SourcesView.js |
+++ b/Source/devtools/front_end/sources/SourcesView.js |
@@ -64,7 +64,7 @@ WebInspector.SourcesView = function(workspace, sourcesPanel) |
this._workspace.addEventListener(WebInspector.Workspace.Events.UISourceCodeAdded, this._uiSourceCodeAdded, this); |
this._workspace.addEventListener(WebInspector.Workspace.Events.UISourceCodeRemoved, this._uiSourceCodeRemoved, this); |
- this._workspace.addEventListener(WebInspector.Workspace.Events.ProjectWillReset, this._projectWillReset.bind(this), this); |
+ this._workspace.addEventListener(WebInspector.Workspace.Events.ProjectRemoved, this._projectRemoved.bind(this), this); |
function handleBeforeUnload(event) |
{ |
@@ -260,7 +260,7 @@ WebInspector.SourcesView.prototype = { |
} |
}, |
- _projectWillReset: function(event) |
+ _projectRemoved: function(event) |
{ |
var project = event.data; |
var uiSourceCodes = project.uiSourceCodes(); |