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

Unified Diff: third_party/WebKit/Source/devtools/front_end/platform/utilities.js

Issue 2781923002: [WIP] DevTools: user SourceMapManager in Debugger (Closed)
Patch Set: works great Created 3 years, 9 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: third_party/WebKit/Source/devtools/front_end/platform/utilities.js
diff --git a/third_party/WebKit/Source/devtools/front_end/platform/utilities.js b/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
index cd66061bbc6c1bff42a54a3b0d5ca56fec23aed4..cea60fb5c5a31d684ae2ce86d5b13d69ade5b0a3 100644
--- a/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
+++ b/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
@@ -1213,12 +1213,14 @@ Multimap.prototype = {
/**
* @param {K} key
* @param {V} value
+ * @return {boolean}
*/
remove: function(key, value) {
var values = this.get(key);
- values.delete(value);
+ var result = values.delete(value);
if (!values.size)
this._map.delete(key);
+ return result;
},
/**

Powered by Google App Engine
This is Rietveld 408576698