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

Unified Diff: Source/devtools/front_end/sdk/SnippetStorage.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/SnippetStorage.js
diff --git a/Source/devtools/front_end/sdk/SnippetStorage.js b/Source/devtools/front_end/sdk/SnippetStorage.js
index d1cbc0655c0bd23d3423698e20a9282ab37f934b..93acff5ce9009d53f92f57c97e846b665c6e865c 100644
--- a/Source/devtools/front_end/sdk/SnippetStorage.js
+++ b/Source/devtools/front_end/sdk/SnippetStorage.js
@@ -128,13 +128,6 @@ WebInspector.SnippetStorage.prototype = {
this._snippets[snippet.id] = snippet;
},
- reset: function()
- {
- this._lastSnippetIdentifierSetting.set(0);
- this._snippetsSetting.set([]);
- this._snippets = {};
- },
-
__proto__: WebInspector.Object.prototype
}

Powered by Google App Engine
This is Rietveld 408576698