| Index: content/browser/renderer_host/render_widget_host_view_aura.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| index bff1854432a31243078fbad71ab6fc10d7ad4170..391cc672798b32d3a790ecfc6083fc76802e2543 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -905,6 +905,7 @@ void RenderWidgetHostViewAura::OnLegacyWindowDestroyed() {
|
|
|
| void RenderWidgetHostViewAura::OnSwapCompositorFrame(
|
| uint32_t compositor_frame_sink_id,
|
| + const cc::LocalSurfaceId& local_surface_id,
|
| cc::CompositorFrame frame) {
|
| TRACE_EVENT0("content", "RenderWidgetHostViewAura::OnSwapCompositorFrame");
|
|
|
| @@ -915,8 +916,6 @@ void RenderWidgetHostViewAura::OnSwapCompositorFrame(
|
| SetBackgroundColor(frame.metadata.root_background_color);
|
|
|
| last_scroll_offset_ = frame.metadata.root_scroll_offset;
|
| - if (frame.render_pass_list.empty())
|
| - return;
|
|
|
| cc::Selection<gfx::SelectionBound> selection = frame.metadata.selection;
|
| if (IsUseZoomForDSFEnabled()) {
|
| @@ -938,8 +937,8 @@ void RenderWidgetHostViewAura::OnSwapCompositorFrame(
|
| cc::BeginFrameAck ack(frame.metadata.begin_frame_ack);
|
|
|
| if (delegated_frame_host_) {
|
| - delegated_frame_host_->SwapDelegatedFrame(compositor_frame_sink_id,
|
| - std::move(frame));
|
| + delegated_frame_host_->SwapDelegatedFrame(
|
| + compositor_frame_sink_id, local_surface_id, std::move(frame));
|
| }
|
| selection_controller_->OnSelectionBoundsChanged(selection.start,
|
| selection.end);
|
|
|