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

Unified Diff: ipc/mojo_event.cc

Issue 2072393003: Implements Mojo-based waiting for IPC::SyncChannel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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
« ipc/ipc_sync_channel.cc ('K') | « ipc/ipc_sync_message_filter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/mojo_event.cc
diff --git a/ipc/mojo_event.cc b/ipc/mojo_event.cc
index 623b473c9f38c684a117c544c0d4466376c24a0b..5d802b8bff9721224756d53f670bdbab26af6dcb 100644
--- a/ipc/mojo_event.cc
+++ b/ipc/mojo_event.cc
@@ -22,7 +22,7 @@ void MojoEvent::Signal() {
MojoResult rv = mojo::WriteMessageRaw(
signal_handle_.get(), nullptr, 0, nullptr, 0,
MOJO_WRITE_MESSAGE_FLAG_NONE);
- DCHECK_EQ(rv, MOJO_RESULT_OK);
+ CHECK_EQ(rv, MOJO_RESULT_OK);
}
void MojoEvent::Reset() {
@@ -33,7 +33,7 @@ void MojoEvent::Reset() {
MojoResult rv = mojo::ReadMessageRaw(
wait_handle_.get(), nullptr, nullptr, nullptr, nullptr,
MOJO_READ_MESSAGE_FLAG_NONE);
- DCHECK_EQ(rv, MOJO_RESULT_OK);
+ CHECK_EQ(rv, MOJO_RESULT_OK);
}
} // namespace IPC
« ipc/ipc_sync_channel.cc ('K') | « ipc/ipc_sync_message_filter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698