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

Unified Diff: third_party/mojo/src/mojo/edk/system/channel_endpoint.cc

Issue 910883002: Update mojo sdk to rev 8af2ccff2eee4bfca1043015abee30482a030b30 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply 9f87aeadbda22441b7d469e596f7bd7d0d73e2a8 (https://codereview.chromium.org/908973002/) Created 5 years, 10 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 | « third_party/mojo/src/mojo/edk/js/BUILD.gn ('k') | third_party/mojo/src/mojo/edk/system/channel_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/src/mojo/edk/system/channel_endpoint.cc
diff --git a/third_party/mojo/src/mojo/edk/system/channel_endpoint.cc b/third_party/mojo/src/mojo/edk/system/channel_endpoint.cc
index 8ef1f40f52e97df1091f991ad152c25bf8460337..0e071d8eef50a2187b773dee198a9886f0307fd2 100644
--- a/third_party/mojo/src/mojo/edk/system/channel_endpoint.cc
+++ b/third_party/mojo/src/mojo/edk/system/channel_endpoint.cc
@@ -82,8 +82,8 @@ void ChannelEndpoint::AttachAndRun(Channel* channel,
remote_id_ = remote_id;
while (!channel_message_queue_.IsEmpty()) {
- LOG_IF(WARNING, !WriteMessageNoLock(channel_message_queue_.GetMessage()))
- << "Failed to write enqueue message to channel";
+ bool ok = WriteMessageNoLock(channel_message_queue_.GetMessage());
+ LOG_IF(WARNING, !ok) << "Failed to write enqueue message to channel";
}
if (!client_) {
« no previous file with comments | « third_party/mojo/src/mojo/edk/js/BUILD.gn ('k') | third_party/mojo/src/mojo/edk/system/channel_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698