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

Unified Diff: ui/aura/mus/mus_context_factory.cc

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: Fix unittests Created 3 years, 7 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: 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..95a65990ee8d2f3ef25b26dc5e065a3498026cdc 100644
--- a/ui/aura/mus/mus_context_factory.cc
+++ b/ui/aura/mus/mus_context_factory.cc
@@ -36,10 +36,10 @@ void MusContextFactory::OnEstablishedGpuChannel(
return;
WindowTreeHost* host =
WindowTreeHost::GetForAcceleratedWidget(compositor->widget());
- WindowPortMus* window_port = WindowPortMus::Get(host->window());
+ WindowPort* window_port = WindowPortMus::Get(host->window());
DCHECK(window_port);
std::unique_ptr<cc::CompositorFrameSink> compositor_frame_sink =
- window_port->RequestCompositorFrameSink(
+ window_port->CreateCompositorFrameSink(
gpu_->CreateContextProvider(std::move(gpu_channel)),
gpu_->gpu_memory_buffer_manager());
compositor->SetCompositorFrameSink(std::move(compositor_frame_sink));

Powered by Google App Engine
This is Rietveld 408576698