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

Unified Diff: services/ui/ws/window_tree.cc

Issue 2576723002: Split cc::mojom::DisplayCompositor::CreateCompositorFrameSink() into CreateDisplayCompositorFrameSi… (Closed)
Patch Set: format Created 4 years 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: 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,

Powered by Google App Engine
This is Rietveld 408576698