Chromium Code Reviews| Index: cc/surfaces/surface_synchronization_unittest.cc |
| diff --git a/cc/surfaces/surface_synchronization_unittest.cc b/cc/surfaces/surface_synchronization_unittest.cc |
| index ae7d748770d41d0a65eb758172f4511406dbaffe..b219e77fcda124044e0923e3ec1b954cc86a6268 100644 |
| --- a/cc/surfaces/surface_synchronization_unittest.cc |
| +++ b/cc/surfaces/surface_synchronization_unittest.cc |
| @@ -975,37 +975,6 @@ TEST_F(SurfaceSynchronizationTest, |
| ui::DISPLAY_COMPOSITOR_RECEIVED_FRAME_COMPONENT, nullptr)); |
| } |
|
sunnyps
2017/05/24 02:38:26
nit: Can you add a TODO here so that we don't forg
Eric Seckler
2017/05/24 09:00:41
Done.
|
| -TEST_F(SurfaceSynchronizationTest, PassesOnBeginFrameAcks) { |
| - const SurfaceId display_id = MakeSurfaceId(kDisplayFrameSink, 1); |
| - |
| - // Request BeginFrames. |
| - display_support().SetNeedsBeginFrame(true); |
| - |
| - // Issue a BeginFrame. |
| - BeginFrameArgs args = |
| - CreateBeginFrameArgsForTesting(BEGINFRAME_FROM_HERE, 0, 1); |
| - begin_frame_source()->TestOnBeginFrame(args); |
| - |
| - // Check that the support forwards a DidNotProduceFrame ack to the |
| - // BeginFrameSource. |
| - BeginFrameAck ack(0, 1, 1, false); |
| - display_support().DidNotProduceFrame(ack); |
| - EXPECT_EQ(ack, begin_frame_source()->LastAckForObserver(&display_support())); |
| - |
| - // Issue another BeginFrame. |
| - args = CreateBeginFrameArgsForTesting(BEGINFRAME_FROM_HERE, 0, 2); |
| - begin_frame_source()->TestOnBeginFrame(args); |
| - |
| - // Check that the support forwards the BeginFrameAck attached |
| - // to a CompositorFrame to the BeginFrameSource. |
| - BeginFrameAck ack2(0, 2, 2, true); |
| - CompositorFrame frame = MakeCompositorFrame(); |
| - frame.metadata.begin_frame_ack = ack2; |
| - display_support().SubmitCompositorFrame(display_id.local_surface_id(), |
| - std::move(frame)); |
| - EXPECT_EQ(ack2, begin_frame_source()->LastAckForObserver(&display_support())); |
| -} |
| - |
| // Checks that resources and ack are sent together if possible. |
| TEST_F(SurfaceSynchronizationTest, ReturnResourcesWithAck) { |
| const SurfaceId parent_id = MakeSurfaceId(kParentFrameSink, 1); |