Index: cc/base/math_util.cc |
diff --git a/cc/base/math_util.cc b/cc/base/math_util.cc |
index 8abfa90f0b31ca301824859546258fbb8f9074fd..72b1e7f17728e4d0f9fc8784b96663728c9bf7c6 100644 |
--- a/cc/base/math_util.cc |
+++ b/cc/base/math_util.cc |
@@ -508,7 +508,7 @@ gfx::Vector2dF MathUtil::ProjectVector(const gfx::Vector2dF& source, |
projected_length * destination.y()); |
} |
-scoped_ptr<base::Value> MathUtil::AsValue(gfx::Size s) { |
+scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Size& s) { |
scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); |
res->SetDouble("width", s.width()); |
res->SetDouble("height", s.height()); |