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

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

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c 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 c0409911d5be6d7280b862d340d1f7044089a8ae..559d5956642acb83143230629e758105021c4912 100644
--- a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
+++ b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
@@ -38,11 +38,11 @@ void OffscreenCanvasCompositorFrameSink::SetNeedsBeginFrame(
}
void OffscreenCanvasCompositorFrameSink::SubmitCompositorFrame(
- const cc::LocalFrameId& local_frame_id,
+ const cc::LocalSurfaceId& local_surface_id,
cc::CompositorFrame frame) {
// TODO(samans): This will need to do something similar to
// GpuCompositorFrameSink.
- support_.SubmitCompositorFrame(local_frame_id, std::move(frame));
+ support_.SubmitCompositorFrame(local_surface_id, std::move(frame));
}
void OffscreenCanvasCompositorFrameSink::EvictFrame() {
@@ -50,9 +50,9 @@ void OffscreenCanvasCompositorFrameSink::EvictFrame() {
}
void OffscreenCanvasCompositorFrameSink::Require(
- const cc::LocalFrameId& local_frame_id,
+ const cc::LocalSurfaceId& local_surface_id,
const cc::SurfaceSequence& sequence) {
- support_.Require(local_frame_id, sequence);
+ support_.Require(local_surface_id, sequence);
}
void OffscreenCanvasCompositorFrameSink::Satisfy(

Powered by Google App Engine
This is Rietveld 408576698