Index: mojo/common/values_struct_traits.h |
diff --git a/mojo/common/values_struct_traits.h b/mojo/common/values_struct_traits.h |
index 7d8c2ed72171c09e1c76170fd1b38deac40a6441..c9cd09e07262ee653ca7515b400d8b0f29f83ccf 100644 |
--- a/mojo/common/values_struct_traits.h |
+++ b/mojo/common/values_struct_traits.h |
@@ -177,8 +177,8 @@ struct UnionTraits<common::mojom::ValueDataView, base::Value> { |
if (!value.GetAsBinary(&binary_value)) |
NOTREACHED(); |
return mojo::ConstCArray<uint8_t>( |
- binary_value->GetSize(), |
- reinterpret_cast<const uint8_t*>(binary_value->GetBuffer())); |
+ binary_value->GetBlob().size(), |
+ reinterpret_cast<const uint8_t*>(binary_value->GetBlob().data())); |
} |
static const base::ListValue& list_value(const base::Value& value) { |