Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 06c5c839d43f3c8875e34f34a97ffc30151a9d52..b98d783670a2c62b741455f2164a5c1ad75231db 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -6883,7 +6883,7 @@ TEST_F(LayerTreeHostImplTest, LatencyInfoPassedToCompositorFrameMetadata) { |
ui::INPUT_EVENT_LATENCY_BEGIN_RWH_COMPONENT, 0, 0); |
scoped_ptr<SwapPromise> swap_promise( |
new LatencyInfoSwapPromise(latency_info)); |
- host_impl_->active_tree()->QueueSwapPromise(swap_promise.Pass()); |
+ host_impl_->active_tree()->QueuePinnedSwapPromise(swap_promise.Pass()); |
host_impl_->SetNeedsRedraw(); |
gfx::Rect full_frame_damage(host_impl_->DrawViewportSize()); |