Index: cc/base/math_util.cc |
diff --git a/cc/base/math_util.cc b/cc/base/math_util.cc |
index 5b01da998d9138bf8da81711c262240b5bafb3c6..7ed0c9a8b712e75931bc3420aec581da2e5b66c2 100644 |
--- a/cc/base/math_util.cc |
+++ b/cc/base/math_util.cc |
@@ -693,7 +693,7 @@ 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()); |
- return res.PassAs<base::Value>(); |
+ return res.Pass(); |
} |
scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Rect& r) { |
@@ -702,7 +702,7 @@ scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Rect& r) { |
res->AppendInteger(r.y()); |
res->AppendInteger(r.width()); |
res->AppendInteger(r.height()); |
- return res.PassAs<base::Value>(); |
+ return res.Pass(); |
} |
bool MathUtil::FromValue(const base::Value* raw_value, gfx::Rect* out_rect) { |
@@ -730,7 +730,7 @@ scoped_ptr<base::Value> MathUtil::AsValue(const gfx::PointF& pt) { |
scoped_ptr<base::ListValue> res(new base::ListValue()); |
res->AppendDouble(pt.x()); |
res->AppendDouble(pt.y()); |
- return res.PassAs<base::Value>(); |
+ return res.Pass(); |
} |
void MathUtil::AddToTracedValue(const gfx::Size& s, |