Index: cc/trees/single_thread_proxy.cc |
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc |
index 60b3a75a2b470db13d00632b634a36447a348782..b85f0f8a9698cae9aa8f2b5dfd34adc32c84f520 100644 |
--- a/cc/trees/single_thread_proxy.cc |
+++ b/cc/trees/single_thread_proxy.cc |
@@ -249,8 +249,8 @@ void SingleThreadProxy::SetNeedsRedraw(const gfx::Rect& damage_rect) { |
TRACE_EVENT0("cc", "SingleThreadProxy::SetNeedsRedraw"); |
DCHECK(task_runner_provider_->IsMainThread()); |
DebugScopedSetImplThread impl(task_runner_provider_); |
- client_->RequestScheduleComposite(); |
- SetNeedsRedrawRectOnImplThread(damage_rect); |
+ layer_tree_host_impl_->SetViewportDamage(damage_rect); |
+ SetNeedsRedrawOnImplThread(); |
} |
void SingleThreadProxy::SetNextCommitWaitsForActivation() { |
@@ -356,12 +356,6 @@ void SingleThreadProxy::SetNeedsPrepareTilesOnImplThread() { |
scheduler_on_impl_thread_->SetNeedsPrepareTiles(); |
} |
-void SingleThreadProxy::SetNeedsRedrawRectOnImplThread( |
- const gfx::Rect& damage_rect) { |
- layer_tree_host_impl_->SetViewportDamage(damage_rect); |
- SetNeedsRedrawOnImplThread(); |
-} |
- |
void SingleThreadProxy::SetNeedsCommitOnImplThread() { |
client_->RequestScheduleComposite(); |
if (scheduler_on_impl_thread_) |