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

Unified Diff: cc/trees/layer_sorter.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/resources/layer_quad.cc ('k') | cc/trees/layer_sorter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_sorter.h
diff --git a/cc/trees/layer_sorter.h b/cc/trees/layer_sorter.h
index 361a5c85f75e1364604cfbdf91772333f2194b70..c5aab7ca780a59807f04dfd2e0e208ecac86c9a7 100644
--- a/cc/trees/layer_sorter.h
+++ b/cc/trees/layer_sorter.h
@@ -42,7 +42,7 @@ struct CC_EXPORT LayerShape {
LayerShape(float width, float height, const gfx::Transform& draw_transform);
~LayerShape();
- float LayerZFromProjectedPoint(gfx::PointF p) const;
+ float LayerZFromProjectedPoint(const gfx::PointF& p) const;
gfx::Vector3dF layer_normal;
gfx::Point3F transform_origin;
« no previous file with comments | « cc/resources/layer_quad.cc ('k') | cc/trees/layer_sorter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698