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

Unified Diff: cc/trees/layer_tree_host_unittest_scroll.cc

Issue 1840883002: cc : Calculate jitter without using layer hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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_unittest_scroll.cc
diff --git a/cc/trees/layer_tree_host_unittest_scroll.cc b/cc/trees/layer_tree_host_unittest_scroll.cc
index b5fce204890ec7ef1c12f21584e434d4e5ec267e..5f2d4205bb01eddc6efbf787fddde0124c1ce1eb 100644
--- a/cc/trees/layer_tree_host_unittest_scroll.cc
+++ b/cc/trees/layer_tree_host_unittest_scroll.cc
@@ -639,8 +639,8 @@ class LayerTreeHostScrollTestCaseWithChild : public LayerTreeHostScrollTest {
CHECK(scrolling_layer);
impl->ScrollEnd(EndState().get());
CHECK(!impl->CurrentlyScrollingLayer());
- EXPECT_EQ(scrolling_layer->id(),
- impl->active_tree()->LastScrolledLayerId());
+ EXPECT_EQ(scrolling_layer->scroll_tree_index(),
+ impl->active_tree()->LastScrolledScrollNodeId());
// Check the scroll is applied as a delta.
EXPECT_VECTOR_EQ(initial_offset_,

Powered by Google App Engine
This is Rietveld 408576698