| Index: content/browser/frame_host/render_widget_host_view_child_frame.cc
|
| diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
|
| index 0570ed67c9855ca3f1f5960d31ff588735a53a5f..88ea407cb7071d6c6b3539d591e0caf8d6f47146 100644
|
| --- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
|
| +++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
|
| @@ -422,7 +422,9 @@
|
| ack_pending_count_++;
|
| // If this value grows very large, something is going wrong.
|
| DCHECK_LT(ack_pending_count_, 1000U);
|
| - surface_factory_->SubmitCompositorFrame(surface_id_, std::move(frame),
|
| + std::unique_ptr<cc::CompositorFrame> frame_copy(new cc::CompositorFrame);
|
| + *frame_copy = std::move(frame);
|
| + surface_factory_->SubmitCompositorFrame(surface_id_, std::move(frame_copy),
|
| ack_callback);
|
|
|
| ProcessFrameSwappedCallbacks();
|
|
|