| Index: cc/trees/single_thread_proxy.cc
|
| diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
|
| index 01b3c69944a70df1f726cb8b71be956ffdd51f11..018821659ac6df6511a8b9e57cb49894c998729d 100644
|
| --- a/cc/trees/single_thread_proxy.cc
|
| +++ b/cc/trees/single_thread_proxy.cc
|
| @@ -436,6 +436,11 @@ void SingleThreadProxy::NotifyReadyToDraw() {
|
| scheduler_on_impl_thread_->NotifyReadyToDraw();
|
| }
|
|
|
| +void SingleThreadProxy::SetRequiresHighResToDraw(bool required) {
|
| + if (scheduler_on_impl_thread_)
|
| + scheduler_on_impl_thread_->SetRequiresHighResToDraw(required);
|
| +}
|
| +
|
| void SingleThreadProxy::SetNeedsRedrawOnImplThread() {
|
| client_->ScheduleComposite();
|
| if (scheduler_on_impl_thread_)
|
| @@ -448,10 +453,10 @@ void SingleThreadProxy::SetNeedsAnimateOnImplThread() {
|
| scheduler_on_impl_thread_->SetNeedsAnimate();
|
| }
|
|
|
| -void SingleThreadProxy::SetNeedsPrepareTilesOnImplThread() {
|
| +void SingleThreadProxy::SetNeedsPrepareTilesOnImplThread(bool for_commit) {
|
| TRACE_EVENT0("cc", "SingleThreadProxy::SetNeedsPrepareTilesOnImplThread");
|
| if (scheduler_on_impl_thread_)
|
| - scheduler_on_impl_thread_->SetNeedsPrepareTiles();
|
| + scheduler_on_impl_thread_->SetNeedsPrepareTiles(for_commit);
|
| }
|
|
|
| void SingleThreadProxy::SetNeedsRedrawRectOnImplThread(
|
| @@ -520,13 +525,6 @@ void SingleThreadProxy::DidActivateSyncTree() {
|
| timing_history_.DidActivateSyncTree();
|
| }
|
|
|
| -void SingleThreadProxy::DidPrepareTiles() {
|
| - DCHECK(layer_tree_host_impl_->settings().impl_side_painting);
|
| - DCHECK(Proxy::IsImplThread());
|
| - if (scheduler_on_impl_thread_)
|
| - scheduler_on_impl_thread_->DidPrepareTiles();
|
| -}
|
| -
|
| void SingleThreadProxy::DidCompletePageScaleAnimationOnImplThread() {
|
| layer_tree_host_->DidCompletePageScaleAnimation();
|
| }
|
|
|