| Index: cc/trees/layer_sorter.cc
|
| diff --git a/cc/trees/layer_sorter.cc b/cc/trees/layer_sorter.cc
|
| index 9287f19c05ac598b492d7d11db1133b627426e31..e171fe01120f6389931b1acb403581968e7126db 100644
|
| --- a/cc/trees/layer_sorter.cc
|
| +++ b/cc/trees/layer_sorter.cc
|
| @@ -23,7 +23,8 @@ namespace cc {
|
| // the test scene went away.
|
| const float k_layer_epsilon = 1e-4f;
|
|
|
| -inline static float PerpProduct(gfx::Vector2dF u, gfx::Vector2dF v) {
|
| +inline static float PerpProduct(const gfx::Vector2dF& u,
|
| + const gfx::Vector2dF& v) {
|
| return u.x() * v.y() - u.y() * v.x();
|
| }
|
|
|
|
|