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

Unified Diff: cc/resources/layer_quad.h

Issue 139233002: [#4] Pass gfx structs by const ref (gfx::PointF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected as per review comments! 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 | « cc/quads/texture_draw_quad.cc ('k') | cc/resources/layer_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/layer_quad.h
diff --git a/cc/resources/layer_quad.h b/cc/resources/layer_quad.h
index 8098c2096509e69e0ecffda50eabd01f5ec581ae..1d711931b2036e920ef8a8072955282dea4f5907 100644
--- a/cc/resources/layer_quad.h
+++ b/cc/resources/layer_quad.h
@@ -23,7 +23,7 @@ class CC_EXPORT LayerQuad {
class Edge {
public:
Edge() : x_(0), y_(0), z_(0) {}
- Edge(gfx::PointF p, gfx::PointF q);
+ Edge(const gfx::PointF& p, const gfx::PointF& q);
float x() const { return x_; }
float y() const { return y_; }
« no previous file with comments | « cc/quads/texture_draw_quad.cc ('k') | cc/resources/layer_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698