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

Unified Diff: content/browser/renderer_host/offscreen_canvas_surface_factory_impl.cc

Issue 2789753002: Convert offscreen canvas to use FrameSinkManagerHost. (Closed)
Patch Set: Rebase. Created 3 years, 8 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: content/browser/renderer_host/offscreen_canvas_surface_factory_impl.cc
diff --git a/content/browser/renderer_host/offscreen_canvas_surface_factory_impl.cc b/content/browser/renderer_host/offscreen_canvas_surface_factory_impl.cc
deleted file mode 100644
index 8d101f19d6ae71c9cf0d5ecc9d8a608a8bbeff7c..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/offscreen_canvas_surface_factory_impl.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2016 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 "content/browser/renderer_host/offscreen_canvas_surface_factory_impl.h"
-
-#include "base/memory/ptr_util.h"
-#include "cc/surfaces/frame_sink_id.h"
-#include "content/browser/renderer_host/offscreen_canvas_surface_impl.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
-
-namespace content {
-
-// static
-void OffscreenCanvasSurfaceFactoryImpl::Create(
- blink::mojom::OffscreenCanvasSurfaceFactoryRequest request) {
- mojo::MakeStrongBinding(base::MakeUnique<OffscreenCanvasSurfaceFactoryImpl>(),
- std::move(request));
-}
-
-void OffscreenCanvasSurfaceFactoryImpl::CreateOffscreenCanvasSurface(
- const cc::FrameSinkId& parent_frame_sink_id,
- const cc::FrameSinkId& frame_sink_id,
- cc::mojom::FrameSinkManagerClientPtr client,
- blink::mojom::OffscreenCanvasSurfaceRequest request) {
- OffscreenCanvasSurfaceImpl::Create(parent_frame_sink_id, frame_sink_id,
- std::move(client), std::move(request));
-}
-
-} // namespace content

Powered by Google App Engine
This is Rietveld 408576698