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

Unified Diff: services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc

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_factory_impl.cc
diff --git a/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc b/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc
index 589de5ecda805aa7e19644b4af4c73efe774d592..c0ef962ed39d65f55b161edeed4ecda80bf23fd5 100644
--- a/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc
+++ b/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc
@@ -13,9 +13,9 @@ namespace gpu {
CompositorFrameSinkFactoryImpl::CompositorFrameSinkFactoryImpl(
uint32_t client_id,
- const scoped_refptr<SurfacesState>& surfaces_state)
+ const scoped_refptr<DisplayCompositor>& display_compositor)
: client_id_(client_id),
- surfaces_state_(surfaces_state),
+ display_compositor_(display_compositor),
allocator_(client_id) {}
CompositorFrameSinkFactoryImpl::~CompositorFrameSinkFactoryImpl() {}
@@ -37,7 +37,7 @@ void CompositorFrameSinkFactoryImpl::CreateCompositorFrameSink(
// TODO(fsamuel): Use nonce once patch lands:
// https://codereview.chromium.org/1996783002/
sinks_[local_id] = base::MakeUnique<CompositorFrameSinkImpl>(
- this, local_id, surfaces_state_, std::move(sink), std::move(client));
+ this, local_id, display_compositor_, std::move(sink), std::move(client));
}
} // namespace gpu

Powered by Google App Engine
This is Rietveld 408576698