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

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

Issue 2632273003: Move ReferencedSurfaceTracker into GpuCompositorFrameSink. (Closed)
Patch Set: Fix iterator invalidation. 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
Index: content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
diff --git a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
index 5717d03773b2bb1f13af95819701a97a1cee8a5e..c0409911d5be6d7280b862d340d1f7044089a8ae 100644
--- a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
+++ b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
@@ -40,21 +40,11 @@ void OffscreenCanvasCompositorFrameSink::SetNeedsBeginFrame(
void OffscreenCanvasCompositorFrameSink::SubmitCompositorFrame(
const cc::LocalFrameId& local_frame_id,
cc::CompositorFrame frame) {
+ // TODO(samans): This will need to do something similar to
+ // GpuCompositorFrameSink.
support_.SubmitCompositorFrame(local_frame_id, std::move(frame));
}
-void OffscreenCanvasCompositorFrameSink::AddSurfaceReferences(
- const std::vector<cc::SurfaceReference>& references) {
- // TODO(fsamuel, staraz): Implement this.
- NOTIMPLEMENTED();
-}
-
-void OffscreenCanvasCompositorFrameSink::RemoveSurfaceReferences(
- const std::vector<cc::SurfaceReference>& references) {
- // TODO(fsamuel, staraz): Implement this.
- NOTIMPLEMENTED();
-}
-
void OffscreenCanvasCompositorFrameSink::EvictFrame() {
support_.EvictFrame();
}
« no previous file with comments | « content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h ('k') | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698