Chromium Code Reviews| Index: tracing/tracing/base/utils.html |
| diff --git a/tracing/tracing/base/utils.html b/tracing/tracing/base/utils.html |
| index 1a98cab405281edc4a66e559a9e88aeaab0b0eac..bf8fa05f76833a9050d49e0afd98ebc42211565c 100644 |
| --- a/tracing/tracing/base/utils.html |
| +++ b/tracing/tracing/base/utils.html |
| @@ -53,6 +53,10 @@ tr.exportTo('tr.b', function() { |
| return res; |
| } |
| + function flattenArray(array_of_arrays) { |
| + return [].concat.apply([], array_of_arrays); |
|
nduca
2015/09/21 19:55:16
Array.prototype.concat
nednguyen
2015/09/21 20:09:54
Done.
|
| + } |
| + |
| function normalizeException(e) { |
| if (e === undefined || e === null) { |
| return { |
| @@ -120,6 +124,7 @@ tr.exportTo('tr.b', function() { |
| addSingletonGetter: addSingletonGetter, |
| deepCopy: deepCopy, |
| + flattenArray: flattenArray, |
| normalizeException: normalizeException, |
| stackTrace: stackTrace, |