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

Unified Diff: components/display_compositor/gpu_offscreen_compositor_frame_sink.cc

Issue 2651213004: Revert of Decouple GpuCompositorFrameSink from DisplayCompositor (Closed)
Patch Set: Created 3 years, 11 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 | « components/display_compositor/gpu_offscreen_compositor_frame_sink.h ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/display_compositor/gpu_offscreen_compositor_frame_sink.cc
diff --git a/components/display_compositor/gpu_offscreen_compositor_frame_sink.cc b/components/display_compositor/gpu_offscreen_compositor_frame_sink.cc
deleted file mode 100644
index e47474ded0a1409a02f7ecc2bbce0d2494493672..0000000000000000000000000000000000000000
--- a/components/display_compositor/gpu_offscreen_compositor_frame_sink.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/display_compositor/gpu_offscreen_compositor_frame_sink.h"
-
-namespace display_compositor {
-
-GpuOffscreenCompositorFrameSink::GpuOffscreenCompositorFrameSink(
- GpuCompositorFrameSinkDelegate* delegate,
- cc::SurfaceManager* surface_manager,
- const cc::FrameSinkId& frame_sink_id,
- cc::mojom::MojoCompositorFrameSinkRequest request,
- cc::mojom::MojoCompositorFrameSinkPrivateRequest
- compositor_frame_sink_private_request,
- cc::mojom::MojoCompositorFrameSinkClientPtr client)
- : GpuCompositorFrameSink(delegate,
- surface_manager,
- frame_sink_id,
- nullptr,
- nullptr,
- std::move(compositor_frame_sink_private_request),
- std::move(client)),
- binding_(this, std::move(request)) {
- binding_.set_connection_error_handler(
- base::Bind(&GpuOffscreenCompositorFrameSink::OnClientConnectionLost,
- base::Unretained(this)));
-}
-
-GpuOffscreenCompositorFrameSink::~GpuOffscreenCompositorFrameSink() = default;
-
-} // namespace display_compositor
« no previous file with comments | « components/display_compositor/gpu_offscreen_compositor_frame_sink.h ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698