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

Unified Diff: headless/public/internal/value_conversions.h

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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: headless/public/internal/value_conversions.h
diff --git a/headless/public/internal/value_conversions.h b/headless/public/internal/value_conversions.h
index 948c94fee4dcf98bcb5eecce806c958a87510e27..5622fb84773506f0a628a0709fc1d38b12900ea2 100644
--- a/headless/public/internal/value_conversions.h
+++ b/headless/public/internal/value_conversions.h
@@ -47,7 +47,7 @@ std::unique_ptr<base::Value> ToValueImpl(bool value, T*) {
template <typename T>
std::unique_ptr<base::Value> ToValueImpl(const std::string& value, T*) {
- return base::MakeUnique<base::StringValue>(value);
+ return base::MakeUnique<base::Value>(value);
}
template <typename T>

Powered by Google App Engine
This is Rietveld 408576698