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

Unified Diff: tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 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
Index: tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html b/tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html
index 74452cba1cc566af535911dc346ecaa69e22278a..830887cafeb63cb3dd82b355596ddcc8d998c7fb 100644
--- a/tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html
+++ b/tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html
@@ -1152,17 +1152,17 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
var lthi = this.layerTreeImpl_.layerTreeHostImpl;
var renderProcess = lthi.objectInstance.parent;
var tasks = [];
- renderProcess.iterateAllEvents(function(event) {
+ for (var event of renderProcess.getDescendantEvents()) {
if (!(event instanceof tr.model.Slice))
- return;
+ continue;
var tile = tr.e.cc.getTileFromRasterTaskSlice(event);
if (tile === undefined)
- return false;
+ continue;
if (tile.containingSnapshot == lthi)
tasks.push(event);
- }, this);
+ }
return tasks;
},
« no previous file with comments | « tracing/tracing/ui/brushing_state.html ('k') | tracing/tracing/ui/extras/side_panel/frame_data_side_panel.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698