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

Unified Diff: services/ui/public/cpp/window_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
« no previous file with comments | « services/ui/public/cpp/window_compositor_frame_sink.h ('k') | services/ui/surfaces/display_compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/window_compositor_frame_sink.cc
diff --git a/services/ui/public/cpp/window_compositor_frame_sink.cc b/services/ui/public/cpp/window_compositor_frame_sink.cc
index 4b3f6759d5cc2f53ff9997e49280600d96613442..2e7876fce090bab15137e51049c32111bb94d3b7 100644
--- a/services/ui/public/cpp/window_compositor_frame_sink.cc
+++ b/services/ui/public/cpp/window_compositor_frame_sink.cc
@@ -71,10 +71,10 @@ void WindowCompositorFrameSink::SubmitCompositorFrame(
gfx::Size frame_size = last_submitted_frame_size_;
if (!frame.render_pass_list.empty())
frame_size = frame.render_pass_list[0]->output_rect.size();
- if (!local_frame_id_.is_valid() || frame_size != last_submitted_frame_size_)
- local_frame_id_ = id_allocator_.GenerateId();
+ if (!local_surface_id_.is_valid() || frame_size != last_submitted_frame_size_)
+ local_surface_id_ = id_allocator_.GenerateId();
- compositor_frame_sink_->SubmitCompositorFrame(local_frame_id_,
+ compositor_frame_sink_->SubmitCompositorFrame(local_surface_id_,
std::move(frame));
last_submitted_frame_size_ = frame_size;
« no previous file with comments | « services/ui/public/cpp/window_compositor_frame_sink.h ('k') | services/ui/surfaces/display_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698