| Index: cc/surfaces/direct_compositor_frame_sink.cc
|
| diff --git a/cc/surfaces/direct_compositor_frame_sink.cc b/cc/surfaces/direct_compositor_frame_sink.cc
|
| index 194a08e7be50f4de6ca595b1e47dec2cd2979f25..1e5b15cbc2bd26817a5213343d54fd10de985683 100644
|
| --- a/cc/surfaces/direct_compositor_frame_sink.cc
|
| +++ b/cc/surfaces/direct_compositor_frame_sink.cc
|
| @@ -85,8 +85,7 @@ void DirectCompositorFrameSink::DetachFromClient() {
|
| }
|
|
|
| void DirectCompositorFrameSink::SubmitCompositorFrame(CompositorFrame frame) {
|
| - gfx::Size frame_size =
|
| - frame.delegated_frame_data->render_pass_list.back()->output_rect.size();
|
| + gfx::Size frame_size = frame.render_pass_list.back()->output_rect.size();
|
| if (frame_size.IsEmpty() || frame_size != last_swap_frame_size_) {
|
| if (!delegated_local_frame_id_.is_null()) {
|
| factory_.Destroy(delegated_local_frame_id_);
|
|
|