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

Unified Diff: content/renderer/mus/renderer_window_tree_client.cc

Issue 2923583002: Remove RendererCompositorFrameSink and use ClientCompositorFrameSink instead (Closed)
Patch Set: Fix windows Created 3 years, 6 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
« no previous file with comments | « content/renderer/gpu/renderer_compositor_frame_sink.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mus/renderer_window_tree_client.cc
diff --git a/content/renderer/mus/renderer_window_tree_client.cc b/content/renderer/mus/renderer_window_tree_client.cc
index 20dc7d930df43383c005e1157545d05323cd1f57..59b6a8bb39f54ab26faac92a3d256ffa29999987 100644
--- a/content/renderer/mus/renderer_window_tree_client.cc
+++ b/content/renderer/mus/renderer_window_tree_client.cc
@@ -10,6 +10,7 @@
#include "base/lazy_instance.h"
#include "cc/base/switches.h"
#include "components/viz/client/client_compositor_frame_sink.h"
+#include "components/viz/client/local_surface_id_provider.h"
namespace content {
@@ -87,7 +88,9 @@ void RendererWindowTreeClient::RequestCompositorFrameSinkInternal(
std::move(context_provider), nullptr /* worker_context_provider */,
gpu_memory_buffer_manager, nullptr /* shared_bitmap_manager */,
nullptr /* synthetic_begin_frame_source */, std::move(sink_info),
- std::move(client_request), enable_surface_synchronization);
+ std::move(client_request),
+ base::MakeUnique<viz::DefaultLocalSurfaceIdProvider>(),
+ enable_surface_synchronization);
tree_->AttachCompositorFrameSink(root_window_id_, std::move(sink_request),
std::move(client));
callback.Run(std::move(frame_sink));
« no previous file with comments | « content/renderer/gpu/renderer_compositor_frame_sink.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698