 Chromium Code Reviews
 Chromium Code Reviews Issue 1336373002:
  Port rendering_stats' implementation to javascript  (Closed) 
  Base URL: https://github.com/catapult-project/catapult@master
    
  
    Issue 1336373002:
  Port rendering_stats' implementation to javascript  (Closed) 
  Base URL: https://github.com/catapult-project/catapult@master| Index: tracing/tracing/base/utils.html | 
| diff --git a/tracing/tracing/base/utils.html b/tracing/tracing/base/utils.html | 
| index 1a98cab405281edc4a66e559a9e88aeaab0b0eac..dfacb013947e0cafc6c9e51ca1484d4c6bd74da5 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 Array.prototype.concat.apply([], array_of_arrays); | 
| + } | 
| 
dsinclair
2015/09/22 16:08:32
nit: indenting
 | 
| + | 
| 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, |