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

Unified Diff: skia/ext/benchmarking_canvas.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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 65f28f2b18e7b08386aadd3d3a4f2f4469f9d901..5d792b55e1fca655a012d5dc0faff50bf98610ab 100644
--- a/skia/ext/benchmarking_canvas.cc
+++ b/skia/ext/benchmarking_canvas.cc
@@ -47,14 +47,14 @@ 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 std::move(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 std::move(val);
}
« no previous file with comments | « services/preferences/public/cpp/tests/pref_observer_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