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

Unified Diff: services/ui/ws/window_tree_client_unittest.cc

Issue 2755463002: [cc] Fix CompositorFrameSinkSupport BeginFrameAck interface. (Closed)
Patch Set: sync 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
Index: services/ui/ws/window_tree_client_unittest.cc
diff --git a/services/ui/ws/window_tree_client_unittest.cc b/services/ui/ws/window_tree_client_unittest.cc
index cdfe5ce4cd7f2f57ba44c7b60d599d81948aed78..7febd7879ae9fb114a9c70e67860adc99860b5fe 100644
--- a/services/ui/ws/window_tree_client_unittest.cc
+++ b/services/ui/ws/window_tree_client_unittest.cc
@@ -2202,6 +2202,8 @@ TEST_F(WindowTreeClientTest, SurfaceIdPropagation) {
render_pass->SetNew(1, frame_rect, frame_rect, gfx::Transform());
compositor_frame.render_pass_list.push_back(std::move(render_pass));
compositor_frame.metadata.device_scale_factor = 1.f;
+ compositor_frame.metadata.begin_frame_ack =
+ cc::BeginFrameAck(0, 1, 1, 0, true);
cc::LocalSurfaceId local_surface_id(1, base::UnguessableToken::Create());
surface_ptr->SubmitCompositorFrame(local_surface_id,
std::move(compositor_frame));

Powered by Google App Engine
This is Rietveld 408576698