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

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

Issue 2907683004: Move ClientCompositorFrameSink to components/viz (Closed)
Patch Set: c 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
« no previous file with comments | « content/renderer/mus/renderer_window_tree_client.h ('k') | services/ui/public/cpp/BUILD.gn » ('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 2e5e6cf9c1a36037da16edada2459ae2458aada5..046a36a0f589deda287ffa7acd70bb36bc05bdf4 100644
--- a/content/renderer/mus/renderer_window_tree_client.cc
+++ b/content/renderer/mus/renderer_window_tree_client.cc
@@ -9,7 +9,7 @@
#include "base/command_line.h"
#include "base/lazy_instance.h"
#include "cc/base/switches.h"
-#include "services/ui/public/cpp/client_compositor_frame_sink.h"
+#include "components/viz/client/client_compositor_frame_sink.h"
namespace content {
@@ -85,7 +85,7 @@ void RendererWindowTreeClient::RequestCompositorFrameSinkInternal(
bool enable_surface_synchronization =
base::CommandLine::ForCurrentProcess()->HasSwitch(
cc::switches::kEnableSurfaceSynchronization);
- auto frame_sink = base::MakeUnique<ui::ClientCompositorFrameSink>(
+ auto frame_sink = base::MakeUnique<viz::ClientCompositorFrameSink>(
std::move(context_provider), gpu_memory_buffer_manager,
std::move(sink_info), std::move(client_request),
enable_surface_synchronization);
« no previous file with comments | « content/renderer/mus/renderer_window_tree_client.h ('k') | services/ui/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698