| Index: content/browser/android/in_process/synchronous_compositor_output_surface.cc
|
| diff --git a/content/browser/android/in_process/synchronous_compositor_output_surface.cc b/content/browser/android/in_process/synchronous_compositor_output_surface.cc
|
| index f03f992d83d4a289296527d774ef66aa65783037..753390b5818b5f7abb89a9c217cf47fa7818d4fe 100644
|
| --- a/content/browser/android/in_process/synchronous_compositor_output_surface.cc
|
| +++ b/content/browser/android/in_process/synchronous_compositor_output_surface.cc
|
| @@ -74,7 +74,6 @@ SynchronousCompositorOutputSurface::SynchronousCompositorOutputSurface(
|
| current_sw_canvas_(nullptr),
|
| memory_policy_(0),
|
| frame_swap_message_queue_(frame_swap_message_queue) {
|
| - capabilities_.draw_and_swap_full_viewport_every_frame = true;
|
| capabilities_.adjust_deadline_for_parent = false;
|
| capabilities_.delegated_rendering = true;
|
| capabilities_.max_frames_pending = 1;
|
| @@ -213,7 +212,9 @@ void SynchronousCompositorOutputSurface::InvokeComposite(
|
| viewport_rect_for_tile_priority,
|
| transform_for_tile_priority,
|
| !hardware_draw);
|
| - SetNeedsRedrawRect(gfx::Rect(viewport.size()));
|
| + if (!hardware_draw) {
|
| + SetNeedsRedrawRect(gfx::Rect(viewport.size()));
|
| + }
|
|
|
| client_->OnDraw();
|
|
|
|
|