Index: content/browser/android/in_process/synchronous_compositor_impl.cc |
diff --git a/content/browser/android/in_process/synchronous_compositor_impl.cc b/content/browser/android/in_process/synchronous_compositor_impl.cc |
index 24299d518e6d5c45319ade90dc9422c93fcd9d0c..95289805afaedbf1cb546e0e713e6ad4362f7571 100644 |
--- a/content/browser/android/in_process/synchronous_compositor_impl.cc |
+++ b/content/browser/android/in_process/synchronous_compositor_impl.cc |
@@ -212,13 +212,14 @@ void SynchronousCompositorImpl::DidActivatePendingTree() { |
} |
void SynchronousCompositorImpl::SetMaxScrollOffset( |
- gfx::Vector2dF max_scroll_offset) { |
+ const gfx::Vector2dF& max_scroll_offset) { |
DCHECK(CalledOnValidThread()); |
if (compositor_client_) |
compositor_client_->SetMaxRootLayerScrollOffset(max_scroll_offset); |
} |
-void SynchronousCompositorImpl::SetTotalScrollOffset(gfx::Vector2dF new_value) { |
+void SynchronousCompositorImpl::SetTotalScrollOffset( |
+ const gfx::Vector2dF& new_value) { |
DCHECK(CalledOnValidThread()); |
if (compositor_client_) |
compositor_client_->SetTotalRootLayerScrollOffset(new_value); |