Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: cc/surfaces/compositor_frame_sink_support_unittest.cc

Issue 2779633002: [cc] Remove remaining_frames from BeginFrameAck. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.cc ('k') | cc/surfaces/direct_compositor_frame_sink_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/compositor_frame_sink_support_unittest.cc
diff --git a/cc/surfaces/compositor_frame_sink_support_unittest.cc b/cc/surfaces/compositor_frame_sink_support_unittest.cc
index 6c4258c18f9c01da04350dfad0a2d23f53963fa1..3ee8a996bedfe690e8b7dcab2a76da52f9f4b5cc 100644
--- a/cc/surfaces/compositor_frame_sink_support_unittest.cc
+++ b/cc/surfaces/compositor_frame_sink_support_unittest.cc
@@ -73,14 +73,14 @@ SurfaceId MakeSurfaceId(const FrameSinkId& frame_sink_id, uint32_t local_id) {
CompositorFrame MakeCompositorFrame() {
CompositorFrame compositor_frame;
- compositor_frame.metadata.begin_frame_ack = BeginFrameAck(0, 1, 1, 0, true);
+ compositor_frame.metadata.begin_frame_ack = BeginFrameAck(0, 1, 1, true);
return compositor_frame;
}
CompositorFrame MakeCompositorFrame(
std::vector<SurfaceId> referenced_surfaces) {
CompositorFrame compositor_frame;
- compositor_frame.metadata.begin_frame_ack = BeginFrameAck(0, 1, 1, 0, true);
+ compositor_frame.metadata.begin_frame_ack = BeginFrameAck(0, 1, 1, true);
compositor_frame.metadata.referenced_surfaces =
std::move(referenced_surfaces);
return compositor_frame;
@@ -90,7 +90,7 @@ CompositorFrame MakeCompositorFrameWithResources(
std::vector<SurfaceId> referenced_surfaces,
TransferableResourceArray resource_list) {
CompositorFrame compositor_frame;
- compositor_frame.metadata.begin_frame_ack = BeginFrameAck(0, 1, 1, 0, true);
+ compositor_frame.metadata.begin_frame_ack = BeginFrameAck(0, 1, 1, true);
compositor_frame.metadata.referenced_surfaces =
std::move(referenced_surfaces);
compositor_frame.resource_list = std::move(resource_list);
@@ -968,7 +968,7 @@ TEST_F(CompositorFrameSinkSupportTest, PassesOnBeginFrameAcks) {
// Check that the support forwards a BeginFrameDidNotSwap ack to the
// BeginFrameSource.
- BeginFrameAck ack(0, 1, 1, 0, false);
+ BeginFrameAck ack(0, 1, 1, false);
display_support().BeginFrameDidNotSwap(ack);
EXPECT_EQ(ack, begin_frame_source()->LastAckForObserver(&display_support()));
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.cc ('k') | cc/surfaces/direct_compositor_frame_sink_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698