diff options
Diffstat (limited to 'cc/trees/layer_tree_host_unittest_damage.cc')
-rw-r--r-- | cc/trees/layer_tree_host_unittest_damage.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host_unittest_damage.cc b/cc/trees/layer_tree_host_unittest_damage.cc index d34cd4d..daff40b 100644 --- a/cc/trees/layer_tree_host_unittest_damage.cc +++ b/cc/trees/layer_tree_host_unittest_damage.cc @@ -434,7 +434,8 @@ class LayerTreeHostDamageTestScrollbarDoesDamage // Test that modifying the position of the content layer (not // scrolling) won't damage the scrollbar. scroll_layer->SetPosition(gfx::Point(1, 1)); - scroll_layer->SetScrollOffset(scroll_layer->scroll_offset()); + scroll_layer->PushScrollOffsetFromMainThread( + scroll_layer->BaseScrollOffset()); host_impl->SetNeedsRedraw(); break; case 2: |