Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index bd66d7c94d51cc328966255a2e6282e41d6bdd05..587baac7a07ab842a7af92f35eef9b88788f5266 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -455,7 +455,7 @@ void ThreadProxy::SendManagedMemoryStats() { |
bool ThreadProxy::IsInsideDraw() { return inside_draw_; } |
-void ThreadProxy::SetNeedsRedraw(const gfx::Rect& damage_rect) { |
+void ThreadProxy::SetNeedsRedraw(gfx::Rect damage_rect) { |
DCHECK(IsMainThread()); |
TRACE_EVENT0("cc", "ThreadProxy::SetNeedsRedraw"); |
Proxy::ImplThread()->PostTask(base::Bind( |
@@ -1162,7 +1162,7 @@ void ThreadProxy::LayerTreeHostClosedOnImplThread(CompletionEvent* completion) { |
completion->Signal(); |
} |
-void ThreadProxy::SetViewportDamageOnImplThread(const gfx::Rect& damage_rect) { |
+void ThreadProxy::SetViewportDamageOnImplThread(gfx::Rect damage_rect) { |
DCHECK(IsImplThread()); |
layer_tree_host_impl_->SetViewportDamage(damage_rect); |
} |