summaryrefslogtreecommitdiffstats
path: root/mojo/edk/system/raw_channel_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/edk/system/raw_channel_unittest.cc')
-rw-r--r--mojo/edk/system/raw_channel_unittest.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/mojo/edk/system/raw_channel_unittest.cc b/mojo/edk/system/raw_channel_unittest.cc
index 7717f49..1c39010 100644
--- a/mojo/edk/system/raw_channel_unittest.cc
+++ b/mojo/edk/system/raw_channel_unittest.cc
@@ -38,10 +38,9 @@ scoped_ptr<MessageInTransit> MakeTestMessage(uint32_t num_bytes) {
std::vector<unsigned char> bytes(num_bytes, 0);
for (size_t i = 0; i < num_bytes; i++)
bytes[i] = static_cast<unsigned char>(i + num_bytes);
- return make_scoped_ptr(
- new MessageInTransit(MessageInTransit::kTypeMessagePipeEndpoint,
- MessageInTransit::kSubtypeMessagePipeEndpointData,
- num_bytes, bytes.empty() ? nullptr : &bytes[0]));
+ return make_scoped_ptr(new MessageInTransit(
+ MessageInTransit::kTypeEndpoint, MessageInTransit::kSubtypeEndpointData,
+ num_bytes, bytes.empty() ? nullptr : &bytes[0]));
}
bool CheckMessageData(const void* bytes, uint32_t num_bytes) {