Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1498)

Unified Diff: Source/devtools/front_end/sdk/SASSSourceMapping.js

Issue 313603003: Devtools: get rid of ProjectWillReset event, introduce ProjectRemoved instead of it (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/sdk/SASSSourceMapping.js
diff --git a/Source/devtools/front_end/sdk/SASSSourceMapping.js b/Source/devtools/front_end/sdk/SASSSourceMapping.js
index 7c48fb7bcde07c356ead9e56d19fb409dc9c24e8..2b6d5247ee205313950b7c20ce620caad5bc652a 100644
--- a/Source/devtools/front_end/sdk/SASSSourceMapping.js
+++ b/Source/devtools/front_end/sdk/SASSSourceMapping.js
@@ -50,7 +50,7 @@ WebInspector.SASSSourceMapping = function(cssModel, workspace, networkWorkspaceB
this._cssModel.addEventListener(WebInspector.CSSStyleModel.Events.StyleSheetChanged, this._styleSheetChanged, this);
this._workspace.addEventListener(WebInspector.Workspace.Events.UISourceCodeAdded, this._uiSourceCodeAdded, this);
this._workspace.addEventListener(WebInspector.Workspace.Events.UISourceCodeContentCommitted, this._uiSourceCodeContentCommitted, this);
- this._workspace.addEventListener(WebInspector.Workspace.Events.ProjectWillReset, this._reset, this);
+ this._workspace.addEventListener(WebInspector.Workspace.Events.ProjectRemoved, this._reset, this);
}
WebInspector.SASSSourceMapping.prototype = {

Powered by Google App Engine
This is Rietveld 408576698