| Index: services/ui/ws/window_tree.cc
|
| diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
|
| index 09f622233ca0a8d1048edaf6d41fe910c30f1a0e..4abe468092909ef7d03cdc6413366c6de8f17981 100644
|
| --- a/services/ui/ws/window_tree.cc
|
| +++ b/services/ui/ws/window_tree.cc
|
| @@ -1415,19 +1415,18 @@ void WindowTree::SetWindowOpacity(uint32_t change_id,
|
|
|
| void WindowTree::AttachCompositorFrameSink(
|
| Id transport_window_id,
|
| - mojom::CompositorFrameSinkType type,
|
| cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink,
|
| cc::mojom::MojoCompositorFrameSinkClientPtr client) {
|
| ServerWindow* window =
|
| GetWindowByClientId(ClientWindowId(transport_window_id));
|
| const bool success =
|
| - window && access_policy_->CanSetWindowCompositorFrameSink(window, type);
|
| + window && access_policy_->CanSetWindowCompositorFrameSink(window);
|
| if (!success) {
|
| DVLOG(1) << "request to AttachCompositorFrameSink failed";
|
| return;
|
| }
|
| - window->CreateOffscreenCompositorFrameSink(
|
| - type, std::move(compositor_frame_sink), std::move(client));
|
| + window->CreateOffscreenCompositorFrameSink(std::move(compositor_frame_sink),
|
| + std::move(client));
|
| }
|
|
|
| void WindowTree::SetWindowTextInputState(Id transport_window_id,
|
|
|