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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 16871016: cc: Use BeginFrameArgs (Closed) Base URL: http://git.chromium.org/chromium/src.git@bfargs2
Patch Set: fix some tests; needs rebase; Created 7 years, 6 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: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 25366468f7d94cb79e7684661397e9aff288301f..00d130e91ec1023b9b5e495ae383d97770ee2d01 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -964,9 +964,10 @@ bool LayerTreeHost::PaintLayerContents(
}
void LayerTreeHost::ApplyScrollAndScale(const ScrollAndScaleSet& info) {
+TRACE_EVENT0("cc", __PRETTY_FUNCTION__);
if (!root_layer_.get())
return;
-
+TRACE_EVENT0("cc", __PRETTY_FUNCTION__);
Layer* root_scroll_layer = FindFirstScrollableLayer(root_layer_.get());
gfx::Vector2d root_scroll_delta;

Powered by Google App Engine
This is Rietveld 408576698