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

Unified Diff: cc/layers/layer.cc

Issue 1547893003: WIP - compositor worker mega patch. 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 | « cc/cc.gyp ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index cc2cbbb537c0a7c859681652fe149eebde643ccd..03e390dd7a1c91a3a1d54ffbdffa473ba0a8186f 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -865,6 +865,10 @@ void Layer::SetScrollOffset(const gfx::ScrollOffset& scroll_offset) {
if (scroll_offset_ == scroll_offset)
return;
+
+ TRACE_EVENT2("compositor-worker", "Layer::SetScrollOffset", "x",
+ scroll_offset.x(), "y", scroll_offset.y());
+
scroll_offset_ = scroll_offset;
if (!layer_tree_host_)
« no previous file with comments | « cc/cc.gyp ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698