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

Unified Diff: cc/output/software_output_device.h

Issue 132163009: [#6]Pass gfx structs by const ref (gfx::Vector2d) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on TOT Created 6 years, 10 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 | « cc/output/direct_renderer.cc ('k') | cc/output/software_output_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/software_output_device.h
diff --git a/cc/output/software_output_device.h b/cc/output/software_output_device.h
index 827210e6d0e35019427ddaabf1eb1306abea8d50..f03e96473d10c6d85607d9e1455a10e22565e278 100644
--- a/cc/output/software_output_device.h
+++ b/cc/output/software_output_device.h
@@ -55,8 +55,7 @@ class CC_EXPORT SoftwareOutputDevice {
// Blit the pixel content of the SoftwareOutputDevice by |delta| with the
// write clipped to |clip_rect|.
- virtual void Scroll(gfx::Vector2d delta,
- const gfx::Rect& clip_rect);
+ virtual void Scroll(const gfx::Vector2d& delta, const gfx::Rect& clip_rect);
// Discard the backing buffer in the surface provided by this instance.
virtual void DiscardBackbuffer() {}
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/software_output_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698