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

Unified Diff: content/browser/compositor/browser_compositor_output_surface.cc

Issue 147603006: [#7] Resubmitted - Pass gfx structs by const ref (gfx::Size) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resubmit 145313006 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
Index: content/browser/compositor/browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/browser_compositor_output_surface.cc b/content/browser/compositor/browser_compositor_output_surface.cc
index d3ceb2ad6cce82a347a0528be1dc0f66407fc547..30ff48551d9b3022a88a2458c379e4347fdd89b2 100644
--- a/content/browser/compositor/browser_compositor_output_surface.cc
+++ b/content/browser/compositor/browser_compositor_output_surface.cc
@@ -80,7 +80,7 @@ bool BrowserCompositorOutputSurface::BindToClient(
return true;
}
-void BrowserCompositorOutputSurface::Reshape(gfx::Size size,
+void BrowserCompositorOutputSurface::Reshape(const gfx::Size& size,
float scale_factor) {
OutputSurface::Reshape(size, scale_factor);
if (reflector_.get())

Powered by Google App Engine
This is Rietveld 408576698