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

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

Issue 2430653002: Mus+Ash: Towards Unifying CompositorFrameSink terminology (Closed)
Patch Set: Fix bitmap_uploader Created 4 years, 2 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 013d54be15d5037803e421ea0c51cbdf504ef64f..7f1f43ddb4edcc747db8be7598baf229815e9c71 100644
--- a/services/ui/ws/window_tree_client_unittest.cc
+++ b/services/ui/ws/window_tree_client_unittest.cc
@@ -2146,9 +2146,9 @@ TEST_F(WindowTreeClientTest, SurfaceIdPropagation) {
changes1()->clear();
// Submit a CompositorFrame to window_2_101 and make sure server gets it.
- mojom::SurfacePtr surface_ptr;
- mojom::SurfaceClientRequest client_request;
- mojom::SurfaceClientPtr surface_client_ptr;
+ cc::mojom::MojoCompositorFrameSinkPtr surface_ptr;
+ cc::mojom::MojoCompositorFrameSinkClientRequest client_request;
+ cc::mojom::MojoCompositorFrameSinkClientPtr surface_client_ptr;
client_request = mojo::GetProxy(&surface_client_ptr);
wt2()->AttachSurface(window_2_101, mojom::SurfaceType::DEFAULT,
mojo::GetProxy(&surface_ptr),
@@ -2162,8 +2162,7 @@ TEST_F(WindowTreeClientTest, SurfaceIdPropagation) {
gfx::Transform());
compositor_frame.delegated_frame_data->render_pass_list.push_back(
std::move(render_pass));
- surface_ptr->SubmitCompositorFrame(std::move(compositor_frame),
- base::Closure());
+ surface_ptr->SubmitCompositorFrame(std::move(compositor_frame));
// Make sure the parent connection gets the surface ID.
wt_client1()->WaitForChangeCount(1);
// Verify that the submitted frame is for |window_2_101|.

Powered by Google App Engine
This is Rietveld 408576698