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

Unified Diff: tools/ipc_fuzzer/fuzzer/fuzzer.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
« no previous file with comments | « tools/gn/desc_builder.cc ('k') | tools/json_schema_compiler/cc_generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/fuzzer/fuzzer.cc
diff --git a/tools/ipc_fuzzer/fuzzer/fuzzer.cc b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
index 8efc54741f683d4e952186f2b7c1ff265d038f82..eac733f511a0aa3be0fdb8f6cf69353314e1d19f 100644
--- a/tools/ipc_fuzzer/fuzzer/fuzzer.cc
+++ b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
@@ -530,7 +530,7 @@ struct FuzzTraits<base::ListValue> {
std::string tmp;
p->GetString(index, &tmp);
fuzzer->FuzzString(&tmp);
- p->Set(index, new base::StringValue(tmp));
+ p->Set(index, new base::Value(tmp));
break;
}
case base::Value::Type::BINARY: {
@@ -599,7 +599,7 @@ struct FuzzTraits<base::DictionaryValue> {
case base::Value::Type::STRING: {
std::string tmp;
fuzzer->FuzzString(&tmp);
- p->SetWithoutPathExpansion(property, new base::StringValue(tmp));
+ p->SetWithoutPathExpansion(property, new base::Value(tmp));
break;
}
case base::Value::Type::BINARY: {
« no previous file with comments | « tools/gn/desc_builder.cc ('k') | tools/json_schema_compiler/cc_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698