| Index: content/browser/renderer_host/render_widget_host_view_android.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
|
| index 47f8f8db5280b30ee0bea3bddf19f69c99830ccc..3e5d5b2b8b82c4cc4275a7599b8c27b42ff6380b 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_android.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_android.cc
|
| @@ -1435,6 +1435,8 @@ void RenderWidgetHostViewAndroid::StartObservingRootWindow() {
|
| return;
|
|
|
| observing_root_window_ = true;
|
| + if (host_)
|
| + host_->Send(new ViewMsg_SetBeginFramePaused(host_->GetRoutingID(), false));
|
| content_view_core_->GetWindowAndroid()->AddObserver(this);
|
|
|
| // Clear existing vsync requests to allow a request to the new window.
|
| @@ -1456,6 +1458,8 @@ void RenderWidgetHostViewAndroid::StopObservingRootWindow() {
|
| is_window_activity_started_ = true;
|
| is_window_visible_ = true;
|
| observing_root_window_ = false;
|
| + if (host_)
|
| + host_->Send(new ViewMsg_SetBeginFramePaused(host_->GetRoutingID(), true));
|
| content_view_core_->GetWindowAndroid()->RemoveObserver(this);
|
| }
|
|
|
|
|