Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1478)

Unified Diff: skia/ext/benchmarking_canvas.cc

Issue 2645073002: Inline FundamentalValue into base::Value (Closed)
Patch Set: Use literals for default initialization. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/values_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+ return val;
}
std::unique_ptr<base::Value> AsValue(const SkSize& size) {
« no previous file with comments | « base/values_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698