Index: ui/aura/mus/mus_context_factory.cc |
diff --git a/ui/aura/mus/mus_context_factory.cc b/ui/aura/mus/mus_context_factory.cc |
index 443f970d7baa0a7d4788c4b87bacf480cc32a548..97cd05ef350eb66a96ac66bee0b6abc6fe3a490b 100644 |
--- a/ui/aura/mus/mus_context_factory.cc |
+++ b/ui/aura/mus/mus_context_factory.cc |
@@ -39,7 +39,7 @@ void MusContextFactory::OnEstablishedGpuChannel( |
WindowPortMus* window_port = WindowPortMus::Get(host->window()); |
DCHECK(window_port); |
std::unique_ptr<cc::CompositorFrameSink> compositor_frame_sink = |
- window_port->RequestCompositorFrameSink( |
+ window_port->CreateCompositorFrameSinkWithContextAndBufferManager( |
Fady Samuel
2017/05/30 18:36:41
This is a really long name? Can we just keep the n
Peng
2017/05/31 20:12:25
Done.
|
gpu_->CreateContextProvider(std::move(gpu_channel)), |
gpu_->gpu_memory_buffer_manager()); |
compositor->SetCompositorFrameSink(std::move(compositor_frame_sink)); |