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

Unified Diff: services/ui/ws/server_window_compositor_frame_sink.cc

Issue 2449853004: Getting rid of DelegatedFrameData (Closed)
Patch Set: IsEmpty + rebase Created 4 years, 2 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: services/ui/ws/server_window_compositor_frame_sink.cc
diff --git a/services/ui/ws/server_window_compositor_frame_sink.cc b/services/ui/ws/server_window_compositor_frame_sink.cc
index 1b8a6b06aaacb73f59116707f9b09f6a804a659c..0ff745f1bfce042b45f25a4117eb39b528f86160 100644
--- a/services/ui/ws/server_window_compositor_frame_sink.cc
+++ b/services/ui/ws/server_window_compositor_frame_sink.cc
@@ -54,8 +54,7 @@ void ServerWindowCompositorFrameSink::SetNeedsBeginFrame(
void ServerWindowCompositorFrameSink::SubmitCompositorFrame(
cc::CompositorFrame frame) {
- gfx::Size frame_size =
- frame.delegated_frame_data->render_pass_list[0]->output_rect.size();
+ gfx::Size frame_size = frame.render_pass_list[0]->output_rect.size();
// If the size of the CompostiorFrame has changed then destroy the existing
// Surface and create a new one of the appropriate size.
if (local_frame_id_.is_null() || frame_size != last_submitted_frame_size_) {

Powered by Google App Engine
This is Rietveld 408576698