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

Unified Diff: mojo/common/values_struct_traits.cc

Issue 2799093006: Remove base::BinaryValue (Closed)
Patch Set: Rebase Created 3 years, 8 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 | « mojo/common/values_struct_traits.h ('k') | tools/ipc_fuzzer/fuzzer/fuzzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/values_struct_traits.cc
diff --git a/mojo/common/values_struct_traits.cc b/mojo/common/values_struct_traits.cc
index ef88a09cdfd9a8b85d0bcc3baa7f94a3bc3b935a..6d392ecabdeba15e8875490d259ba67262dcd59e 100644
--- a/mojo/common/values_struct_traits.cc
+++ b/mojo/common/values_struct_traits.cc
@@ -83,7 +83,7 @@ bool UnionTraits<common::mojom::ValueDataView, std::unique_ptr<base::Value>>::
case common::mojom::ValueDataView::Tag::BINARY_VALUE: {
mojo::ArrayDataView<uint8_t> binary_data;
data.GetBinaryValueDataView(&binary_data);
- *value_out = base::BinaryValue::CreateWithCopiedBuffer(
+ *value_out = base::Value::CreateWithCopiedBuffer(
reinterpret_cast<const char*>(binary_data.data()),
binary_data.size());
return true;
« no previous file with comments | « mojo/common/values_struct_traits.h ('k') | tools/ipc_fuzzer/fuzzer/fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698