| Index: android_webview/browser/in_process_view_renderer.cc
|
| diff --git a/android_webview/browser/in_process_view_renderer.cc b/android_webview/browser/in_process_view_renderer.cc
|
| index 016aec892749445a0c284663d2a024162ae8e853..88415f796d923eff3379686168d80eab644ec51c 100644
|
| --- a/android_webview/browser/in_process_view_renderer.cc
|
| +++ b/android_webview/browser/in_process_view_renderer.cc
|
| @@ -886,9 +886,7 @@ void InProcessViewRenderer::EnsureContinuousInvalidation(
|
| // This method should be called again when any of these conditions change.
|
| bool need_invalidate =
|
| compositor_needs_continuous_invalidate_ || invalidate_ignore_compositor;
|
| - bool throttle = (is_paused_ && !on_new_picture_enable_) ||
|
| - (attached_to_window_ && !window_visible_);
|
| - if (!need_invalidate || block_invalidates_ || throttle)
|
| + if (!need_invalidate || block_invalidates_)
|
| return;
|
|
|
| if (draw_info) {
|
| @@ -901,6 +899,11 @@ void InProcessViewRenderer::EnsureContinuousInvalidation(
|
| client_->PostInvalidate();
|
| }
|
|
|
| + bool throttle_fallback_tick = (is_paused_ && !on_new_picture_enable_) ||
|
| + (attached_to_window_ && !window_visible_);
|
| + if (throttle_fallback_tick)
|
| + return;
|
| +
|
| block_invalidates_ = compositor_needs_continuous_invalidate_;
|
|
|
| // Unretained here is safe because the callback is cancelled when
|
|
|