Index: cc/trees/layer_tree_host_unittest_damage.cc |
diff --git a/cc/trees/layer_tree_host_unittest_damage.cc b/cc/trees/layer_tree_host_unittest_damage.cc |
index d34cd4dc19d9138c6919c6f75428daaf36773e54..daff40beb2dec4bff98288a3a946901ffa4f83fc 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: |