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

Unified Diff: cc/layers/texture_layer_impl.h

Issue 1109393002: Pass gfx structs by const ref (gfx::PointF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | cc/layers/texture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/texture_layer_impl.h
diff --git a/cc/layers/texture_layer_impl.h b/cc/layers/texture_layer_impl.h
index 3d2c1659a281753793a088582c2a09ba54a8485d..56def7a05419c7422d87880906ae175cbf0b3268 100644
--- a/cc/layers/texture_layer_impl.h
+++ b/cc/layers/texture_layer_impl.h
@@ -41,8 +41,8 @@ class CC_EXPORT TextureLayerImpl : public LayerImpl {
void SetBlendBackgroundColor(bool blend);
void SetFlipped(bool flipped);
void SetNearestNeighbor(bool nearest_neighbor);
- void SetUVTopLeft(const gfx::PointF top_left);
- void SetUVBottomRight(const gfx::PointF bottom_right);
+ void SetUVTopLeft(const gfx::PointF& top_left);
+ void SetUVBottomRight(const gfx::PointF& bottom_right);
// 1--2
// | |
« no previous file with comments | « no previous file | cc/layers/texture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698