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

Unified Diff: services/ui/ws/frame_generator.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/ws/frame_generator.h ('k') | services/ui/ws/frame_generator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/frame_generator.cc
diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
index ba893e2095cb53ccc60cc1e438b7668ec5827727..73965d22bc6efa42acadc8ff49c3cbcb39888232 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -85,13 +85,13 @@ void FrameGenerator::OnBeginFrame(const cc::BeginFrameArgs& begin_frame_arags) {
if (!frame.render_pass_list.empty())
frame_size = frame.render_pass_list[0]->output_rect.size();
- if (!local_frame_id_.is_valid() ||
+ if (!local_surface_id_.is_valid() ||
frame_size != last_submitted_frame_size_) {
- local_frame_id_ = id_allocator_.GenerateId();
+ local_surface_id_ = id_allocator_.GenerateId();
display_private_->ResizeDisplay(frame_size);
}
- compositor_frame_sink_->SubmitCompositorFrame(local_frame_id_,
+ compositor_frame_sink_->SubmitCompositorFrame(local_surface_id_,
std::move(frame));
compositor_frame_sink_->SetNeedsBeginFrame(false);
last_submitted_frame_size_ = frame_size;
« no previous file with comments | « services/ui/ws/frame_generator.h ('k') | services/ui/ws/frame_generator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698