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

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

Issue 2430653002: Mus+Ash: Towards Unifying CompositorFrameSink terminology (Closed)
Patch Set: Updated 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/frame_generator_unittest.cc
diff --git a/services/ui/ws/frame_generator_unittest.cc b/services/ui/ws/frame_generator_unittest.cc
index cb7e7ba91256af1f65447b4d26ff80a5bc6cf4ad..511172d20599ad24506710cd62b13dd26f3c2fc3 100644
--- a/services/ui/ws/frame_generator_unittest.cc
+++ b/services/ui/ws/frame_generator_unittest.cc
@@ -27,9 +27,10 @@ void InitWindow(ServerWindow* window) {
window->SetVisible(true);
ServerWindowSurfaceManager* surface_manager =
window->GetOrCreateSurfaceManager();
- surface_manager->CreateSurface(mojom::SurfaceType::DEFAULT,
- mojo::InterfaceRequest<mojom::Surface>(),
- mojom::SurfaceClientPtr());
+ surface_manager->CreateSurface(
+ mojom::SurfaceType::DEFAULT,
+ mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink>(),
+ cc::mojom::MojoCompositorFrameSinkClientPtr());
}
} // namespace
@@ -114,8 +115,9 @@ TEST_F(FrameGeneratorTest, DrawWindowTree) {
// Create the UNDERLAY Surface for the child window, and confirm that this
// creates an extra SharedQuadState in the CompositorFrame.
child_window.GetOrCreateSurfaceManager()->CreateSurface(
- mojom::SurfaceType::UNDERLAY, mojo::InterfaceRequest<mojom::Surface>(),
- mojom::SurfaceClientPtr());
+ mojom::SurfaceType::UNDERLAY,
+ mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink>(),
+ cc::mojom::MojoCompositorFrameSinkClientPtr());
render_pass = cc::RenderPass::Create();
DrawWindowTree(render_pass.get());

Powered by Google App Engine
This is Rietveld 408576698