| Index: services/ui/ws/gpu_compositor_frame_sink.cc
|
| diff --git a/services/ui/ws/gpu_compositor_frame_sink.cc b/services/ui/ws/gpu_compositor_frame_sink.cc
|
| index 17ffc59a6842f9de6755454c221cb99fef5d6933..5900dcd0d261400f7317376c246bdf62faf7bc36 100644
|
| --- a/services/ui/ws/gpu_compositor_frame_sink.cc
|
| +++ b/services/ui/ws/gpu_compositor_frame_sink.cc
|
| @@ -64,7 +64,8 @@ void GpuCompositorFrameSink::SetNeedsBeginFrame(bool needs_begin_frame) {
|
| }
|
|
|
| void GpuCompositorFrameSink::SubmitCompositorFrame(cc::CompositorFrame frame) {
|
| - gfx::Size frame_size = frame.render_pass_list[0]->output_rect.size();
|
| + gfx::Size frame_size =
|
| + frame.delegated_frame_data->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_valid() || frame_size != last_submitted_frame_size_) {
|
|
|