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 5fcadfc2d46390433fdec87b38f16d63f0a9dee1..6384f05018145a8c577dc15d0865fa3f3c830883 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -6501,7 +6501,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()->QueuePromise(swap_promise.Pass()); |
host_impl_->SetNeedsRedraw(); |
gfx::Rect full_frame_damage(host_impl_->DrawViewportSize()); |