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

Unified Diff: content/browser/devtools/protocol_string.cc

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: content/browser/devtools/protocol_string.cc
diff --git a/content/browser/devtools/protocol_string.cc b/content/browser/devtools/protocol_string.cc
index 452949a289ae1c28d5a6b1faacb63eb40c224a56..994e478b3baa947ef5e45cc24c9b1fc0234b33e6 100644
--- a/content/browser/devtools/protocol_string.cc
+++ b/content/browser/devtools/protocol_string.cc
@@ -93,7 +93,7 @@ std::unique_ptr<base::Value> toBaseValue(
if (value->type() == protocol::Value::TypeString) {
std::string inner;
value->asString(&inner);
- return base::WrapUnique(new base::StringValue(inner));
+ return base::WrapUnique(new base::Value(inner));
}
if (value->type() == protocol::Value::TypeArray) {
protocol::ListValue* list = protocol::ListValue::cast(value);
« no previous file with comments | « content/browser/devtools/devtools_http_handler.cc ('k') | content/browser/indexed_db/indexed_db_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698