Index: cc/trees/single_thread_proxy.cc |
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc |
index f05a9a6a529269a0da9ebd7f14cce7dc53c11099..9c5a6b5c7c8931b877764074ca45a5a6bc9fd66f 100644 |
--- a/cc/trees/single_thread_proxy.cc |
+++ b/cc/trees/single_thread_proxy.cc |
@@ -437,6 +437,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_) |
@@ -449,10 +454,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( |
@@ -521,13 +526,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(); |
} |