Index: services/ui/public/cpp/window_tree_client.cc |
diff --git a/services/ui/public/cpp/window_tree_client.cc b/services/ui/public/cpp/window_tree_client.cc |
index 1c30e875bb617be196d6d46045b0fd38b6aa8382..11e73b05533d8f45fb7c94dd285dadeb1e01723d 100644 |
--- a/services/ui/public/cpp/window_tree_client.cc |
+++ b/services/ui/public/cpp/window_tree_client.cc |
@@ -349,13 +349,14 @@ void WindowTreeClient::RequestClose(Window* window) { |
window_manager_internal_client_->WmRequestClose(server_id(window)); |
} |
-void WindowTreeClient::AttachSurface( |
+void WindowTreeClient::AttachCompositorFrameSink( |
Id window_id, |
- mojom::SurfaceType type, |
- mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface, |
+ mojom::CompositorFrameSinkType type, |
+ cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink, |
cc::mojom::MojoCompositorFrameSinkClientPtr client) { |
DCHECK(tree_); |
- tree_->AttachSurface(window_id, type, std::move(surface), std::move(client)); |
+ tree_->AttachCompositorFrameSink( |
+ window_id, type, std::move(compositor_frame_sink), std::move(client)); |
} |
void WindowTreeClient::OnWindowSurfaceDetached( |