Index: tracing/tracing/model/helpers/android_app.html |
diff --git a/tracing/tracing/model/helpers/android_app.html b/tracing/tracing/model/helpers/android_app.html |
index 5831d0092293bd819f9002704369083a78fdff10..8504a34c98ed8a8af994dc388bae748ea7684500 100644 |
--- a/tracing/tracing/model/helpers/android_app.html |
+++ b/tracing/tracing/model/helpers/android_app.html |
@@ -4,10 +4,10 @@ Copyright (c) 2015 The Chromium Authors. All rights reserved. |
Use of this source code is governed by a BSD-style license that can be |
found in the LICENSE file. |
--> |
-<link rel="import" href="/tracing/base/statistics.html"> |
+<link rel="import" href="/tracing/base/range_utils.html"> |
<link rel="import" href="/tracing/base/sorted_array_utils.html"> |
+<link rel="import" href="/tracing/base/statistics.html"> |
<link rel="import" href="/tracing/model/frame.html"> |
-<link rel="import" href="/tracing/base/range_utils.html"> |
<script> |
'use strict'; |
@@ -230,10 +230,10 @@ tr.exportTo('tr.model.helpers', function() { |
return []; |
var slices = []; |
- uiThread.asyncSliceGroup.iterateAllEvents(function(slice) { |
+ for (var slice of uiThread.asyncSliceGroup.getDescendantEvents()) { |
if (/^animator\:/.test(slice.title)) |
slices.push(slice); |
- }); |
+ } |
return slices; |
} |