Index: cc/base/math_util.cc |
diff --git a/cc/base/math_util.cc b/cc/base/math_util.cc |
index 0cc120d89094c818e72f6480711c6e3a5ed1e99a..23a96275c9fed62a71cf98ecff1d5160aedc35ce 100644 |
--- a/cc/base/math_util.cc |
+++ b/cc/base/math_util.cc |
@@ -514,7 +514,7 @@ scoped_ptr<base::Value> MathUtil::AsValue(gfx::Size s) { |
return res.PassAs<base::Value>(); |
} |
-scoped_ptr<base::Value> MathUtil::AsValue(gfx::SizeF s) { |
+scoped_ptr<base::Value> MathUtil::AsValue(const gfx::SizeF& s) { |
scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); |
res->SetDouble("width", s.width()); |
res->SetDouble("height", s.height()); |