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

Unified Diff: skia/ext/benchmarking_canvas.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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
Index: skia/ext/benchmarking_canvas.cc
diff --git a/skia/ext/benchmarking_canvas.cc b/skia/ext/benchmarking_canvas.cc
index f2e8bd2901c607b0728a7757bf106f64d0ab4e30..60a47a8d8acbe5a2ef1897ab23f0b8623fcf2cd4 100644
--- a/skia/ext/benchmarking_canvas.cc
+++ b/skia/ext/benchmarking_canvas.cc
@@ -47,14 +47,13 @@ private:
};
std::unique_ptr<base::Value> AsValue(bool b) {
- std::unique_ptr<base::FundamentalValue> val(new base::FundamentalValue(b));
+ std::unique_ptr<base::Value> val(new base::Value(b));
return val;
}
std::unique_ptr<base::Value> AsValue(SkScalar scalar) {
- std::unique_ptr<base::FundamentalValue> val(
- new base::FundamentalValue(scalar));
+ std::unique_ptr<base::Value> val(new base::Value(scalar));
return val;
}
« no previous file with comments | « services/preferences/public/cpp/tests/pref_client_store_unittest.cc ('k') | tools/clang/value_cleanup/ListValueRewriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698