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

Unified Diff: ipc/ipc_mojo_message_helper.cc

Issue 2494943002: Remove IPC::BrokerableAttachment. (Closed)
Patch Set: extra test output Created 4 years, 1 month 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 | « ipc/ipc_mojo_handle_attachment.cc ('k') | ipc/ipc_platform_file_attachment_posix.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_mojo_message_helper.cc
diff --git a/ipc/ipc_mojo_message_helper.cc b/ipc/ipc_mojo_message_helper.cc
index 8f869455ba2e2f9f4622b13811e772923355e357..a87a2d694d5f974f10461f0eeedea771dc159567 100644
--- a/ipc/ipc_mojo_message_helper.cc
+++ b/ipc/ipc_mojo_message_helper.cc
@@ -32,7 +32,7 @@ bool MojoMessageHelper::ReadMessagePipeFrom(
MessageAttachment::Type type =
static_cast<MessageAttachment*>(attachment.get())->GetType();
- if (type != MessageAttachment::TYPE_MOJO_HANDLE) {
+ if (type != MessageAttachment::Type::MOJO_HANDLE) {
LOG(ERROR) << "Unxpected attachment type:" << type;
return false;
}
« no previous file with comments | « ipc/ipc_mojo_handle_attachment.cc ('k') | ipc/ipc_platform_file_attachment_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698