Chromium Code Reviews| Index: skia/ext/benchmarking_canvas.cc |
| diff --git a/skia/ext/benchmarking_canvas.cc b/skia/ext/benchmarking_canvas.cc |
| index 32e4df0c1489da408746a8f453248679590a6e6c..d66614a7343d5d458d747b07a568c93d15598852 100644 |
| --- a/skia/ext/benchmarking_canvas.cc |
| +++ b/skia/ext/benchmarking_canvas.cc |
| @@ -49,14 +49,14 @@ private: |
| std::unique_ptr<base::Value> AsValue(bool b) { |
| std::unique_ptr<base::FundamentalValue> val(new base::FundamentalValue(b)); |
| - return std::move(val); |
| + return val; |
| } |
| std::unique_ptr<base::Value> AsValue(SkScalar scalar) { |
| std::unique_ptr<base::FundamentalValue> val( |
| new base::FundamentalValue(scalar)); |
| - return std::move(val); |
|
jdoerrie
2017/01/21 15:06:51
After the typdef this results in a compile error:
brettw
2017/01/23 05:52:50
Interesting, I wonder why it didn't complain befor
jdoerrie
2017/01/24 08:59:35
If I understand this correctly, only after the typ
|
| + return val; |
| } |
| std::unique_ptr<base::Value> AsValue(const SkSize& size) { |