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

Unified Diff: tracing/tracing/base/iteration_helpers.html

Issue 2956023002: Remove tr.b.dictionaryContainsValue. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | tracing/tracing/base/iteration_helpers_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/iteration_helpers.html
diff --git a/tracing/tracing/base/iteration_helpers.html b/tracing/tracing/base/iteration_helpers.html
index 18e5eb8e7a638cdec5f6191a3252cb63bca5157d..d57d912ee7dc39f561f354a8da294a30df5bfef9 100644
--- a/tracing/tracing/base/iteration_helpers.html
+++ b/tracing/tracing/base/iteration_helpers.html
@@ -103,15 +103,6 @@ tr.exportTo('tr.b', function() {
return result;
}
- function dictionaryContainsValue(dict, value) {
- for (const key in dict) {
- if (dict[key] === value) {
- return true;
- }
- }
- return false;
- }
-
/**
* Returns a new Map with items grouped by the return value of the
* specified function being called on each item.
@@ -347,7 +338,6 @@ tr.exportTo('tr.b', function() {
concatenateObjects,
compareArrays,
comparePossiblyUndefinedValues,
- dictionaryContainsValue,
getOnlyElement,
getFirstElement,
groupIntoMap,
« no previous file with comments | « no previous file | tracing/tracing/base/iteration_helpers_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698