Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1177)

Unified Diff: content/browser/android/in_process/synchronous_compositor_impl.cc

Issue 139173004: [#3] Pass gfx structs by const ref (gfx::SizeF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT and fixed build error for Android platform! Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/android/in_process/synchronous_compositor_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f9fda921c41427bf754225dd3e92e1e7f7a0e957..0e0c2b571e7cbf97fbc93ab769786e9578f26bba 100644
--- a/content/browser/android/in_process/synchronous_compositor_impl.cc
+++ b/content/browser/android/in_process/synchronous_compositor_impl.cc
@@ -238,7 +238,8 @@ void SynchronousCompositorImpl::SetTotalPageScaleFactor(
compositor_client_->SetRootLayerPageScaleFactor(page_scale_factor);
}
-void SynchronousCompositorImpl::SetScrollableSize(gfx::SizeF scrollable_size) {
+void SynchronousCompositorImpl::SetScrollableSize(
+ const gfx::SizeF& scrollable_size) {
DCHECK(CalledOnValidThread());
if (compositor_client_)
compositor_client_->SetRootLayerScrollableSize(scrollable_size);
« no previous file with comments | « content/browser/android/in_process/synchronous_compositor_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698