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

Unified Diff: mojo/common/values_struct_traits.h

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/common_custom_types_unittest.cc ('k') | mojo/common/values_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/values_struct_traits.h
diff --git a/mojo/common/values_struct_traits.h b/mojo/common/values_struct_traits.h
index befcf3a6ea2816dd56e56f0a50933d9cec3548e0..4139ce6c9782ba11aa798d2449d52d8160ddc29f 100644
--- a/mojo/common/values_struct_traits.h
+++ b/mojo/common/values_struct_traits.h
@@ -173,7 +173,7 @@ struct UnionTraits<common::mojom::ValueDataView, base::Value> {
}
static mojo::ConstCArray<uint8_t> binary_value(const base::Value& value) {
- const base::BinaryValue* binary_value = nullptr;
+ const base::Value* binary_value = nullptr;
if (!value.GetAsBinary(&binary_value))
NOTREACHED();
return mojo::ConstCArray<uint8_t>(
« no previous file with comments | « mojo/common/common_custom_types_unittest.cc ('k') | mojo/common/values_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698