| Index: tracing/tracing/base/iteration_helpers.html
|
| diff --git a/tracing/tracing/base/iteration_helpers.html b/tracing/tracing/base/iteration_helpers.html
|
| index 397f5ac36b056d05cd59fc55003d0ed5c719af2d..c695673c79c4130325cef321d719640151dbdad5 100644
|
| --- a/tracing/tracing/base/iteration_helpers.html
|
| +++ b/tracing/tracing/base/iteration_helpers.html
|
| @@ -373,7 +373,11 @@ tr.exportTo('tr.b', function() {
|
| function setsEqual(a, b) {
|
| if (!(a instanceof Set) || !(b instanceof Set)) return false;
|
| if (a.size !== b.size) return false;
|
| - return Array.from(a).every(x => b.has(x));
|
| + // Avoid Array.from() here -- it creates garbage.
|
| + for (const x of a) {
|
| + if (!b.has(x)) return false;
|
| + }
|
| + return true;
|
| }
|
|
|
| return {
|
|
|