Index: services/ui/ws/window_tree.cc |
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc |
index 2f829d343e494b0fcdb326d862bdd1adf87ebba4..4b435876a269d5eceac4da35b8a233c72b95a2c8 100644 |
--- a/services/ui/ws/window_tree.cc |
+++ b/services/ui/ws/window_tree.cc |
@@ -1406,9 +1406,8 @@ void WindowTree::AttachCompositorFrameSink( |
DVLOG(1) << "request to AttachCompositorFrameSink failed"; |
return; |
} |
- window->CreateCompositorFrameSink(type, gfx::kNullAcceleratedWidget, |
- std::move(compositor_frame_sink), |
- std::move(client)); |
+ window->CreateOffscreenCompositorFrameSink( |
+ type, std::move(compositor_frame_sink), std::move(client)); |
} |
void WindowTree::SetWindowTextInputState(Id transport_window_id, |