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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 1641023002: cc: Fix badly-scoped trace event for CDP in LTH::DoUpdateLayers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index cb9619b1ebaedd6312310b2a156ae1ffb664ed85..70ce669812fd4985706939060c45bfb3218704eb 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -819,17 +819,14 @@ bool LayerTreeHost::DoUpdateLayers(Layer* root_layer) {
device_scale_factor_);
}
-
- TRACE_EVENT0("cc", "LayerTreeHost::UpdateLayers::CalcDrawProps");
-
- LayerTreeHostCommon::PreCalculateMetaInformation(root_layer);
-
gfx::Transform identity_transform;
LayerList update_layer_list;
{
+ TRACE_EVENT0("cc", "LayerTreeHost::UpdateLayers::BuildPropertyTrees");
TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("cc.debug.cdp-perf"),
"LayerTreeHostCommon::ComputeVisibleRectsWithPropertyTrees");
+ LayerTreeHostCommon::PreCalculateMetaInformation(root_layer);
bool can_render_to_separate_surface = true;
BuildPropertyTreesAndComputeVisibleRects(
root_layer, page_scale_layer, inner_viewport_scroll_layer_.get(),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698