Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index 39cdceb91420f9d1040c3f7e542a7c1fddd1c775..57057884d939dd5989ce908d92ee0268997c2082 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -234,6 +234,8 @@ void ThreadProxy::SetVisibleOnImplThread(CompletionEvent* completion, |
TRACE_EVENT0("cc", "ThreadProxy::SetVisibleOnImplThread"); |
layer_tree_host_impl_->SetVisible(visible); |
scheduler_on_impl_thread_->SetVisible(visible); |
+ layer_tree_host_impl_->UpdateBackgroundAnimateTicking( |
+ !scheduler_on_impl_thread_->WillDrawIfNeeded()); |
completion->Signal(); |
} |
@@ -897,6 +899,7 @@ void ThreadProxy::BeginFrameAbortedByMainThreadOnImplThread(bool did_handle) { |
// values were applied and committed. |
if (did_handle) { |
layer_tree_host_impl_->active_tree()->ApplySentScrollAndScaleDeltas(); |
+ layer_tree_host_impl_->active_tree()->ResetContentsTexturesPurged(); |
SetInputThrottledUntilCommitOnImplThread(false); |
} |
scheduler_on_impl_thread_->BeginFrameAbortedByMainThread(did_handle); |