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

Unified Diff: services/ui/gpu/display_compositor/compositor_frame_sink_impl.h

Issue 2386763002: services/ui: Match naming in cc (and jellyfish branch) (Closed)
Patch Set: Removed bad change Created 4 years, 2 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: services/ui/gpu/display_compositor/compositor_frame_sink_impl.h
diff --git a/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h b/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h
index 8d4ace6d2762b7ec5d068db80cb2c2afd034e0f3..84e8b3da23c8d047786668fac16847f15da1c5b5 100644
--- a/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h
+++ b/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h
@@ -12,7 +12,7 @@
#include "cc/surfaces/surface_factory_client.h"
#include "cc/surfaces/surface_id.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
-#include "services/ui/surfaces/surfaces_state.h"
+#include "services/ui/surfaces/display_compositor.h"
namespace ui {
namespace gpu {
@@ -28,7 +28,7 @@ class CompositorFrameSinkImpl : public cc::SurfaceFactoryClient,
CompositorFrameSinkImpl(
CompositorFrameSinkDelegate* delegate,
int sink_id,
- const scoped_refptr<SurfacesState>& surfaces_state,
+ const scoped_refptr<DisplayCompositor>& display_compositor,
mojo::InterfaceRequest<mojom::CompositorFrameSink> request,
mojom::CompositorFrameSinkClientPtr client);
~CompositorFrameSinkImpl() override;
@@ -54,7 +54,7 @@ class CompositorFrameSinkImpl : public cc::SurfaceFactoryClient,
void OnConnectionLost();
CompositorFrameSinkDelegate* const delegate_;
- scoped_refptr<SurfacesState> surfaces_state_;
+ scoped_refptr<DisplayCompositor> display_compositor_;
const int sink_id_;
cc::BeginFrameSource* begin_frame_source_;
bool needs_begin_frame_;

Powered by Google App Engine
This is Rietveld 408576698