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

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: 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: cc/output/software_output_device.h
diff --git a/cc/output/software_output_device.h b/cc/output/software_output_device.h
index e203902f2e2c8ff58a3f07ef8b2b7e7aa12b5b3e..dbb358ec9d42c27a19fb4f0c6386600bd4e80fa2 100644
--- a/cc/output/software_output_device.h
+++ b/cc/output/software_output_device.h
@@ -55,7 +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,
+ virtual void Scroll(const gfx::Vector2d& delta,
const gfx::Rect& clip_rect);
// Discard the backing buffer in the surface provided by this instance.

Powered by Google App Engine
This is Rietveld 408576698