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

Unified Diff: mojo/edk/system/data_pipe_consumer_dispatcher.cc

Issue 703753005: More Windows build fixes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove generated files Created 6 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 | « build/secondary/third_party/nss/BUILD.gn ('k') | mojo/services/public/cpp/network/udp_socket_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/data_pipe_consumer_dispatcher.cc
diff --git a/mojo/edk/system/data_pipe_consumer_dispatcher.cc b/mojo/edk/system/data_pipe_consumer_dispatcher.cc
index f2d4496f2934368aacdbd02e4499797ee44f5486..fa103c3afb6fc7aa9479f14b7d5ed11e969dc1cf 100644
--- a/mojo/edk/system/data_pipe_consumer_dispatcher.cc
+++ b/mojo/edk/system/data_pipe_consumer_dispatcher.cc
@@ -79,8 +79,8 @@ MojoResult DataPipeConsumerDispatcher::ReadDataImplNoLock(
return data_pipe_->ConsumerReadData(
elements,
num_bytes,
- (flags & MOJO_READ_DATA_FLAG_ALL_OR_NONE),
- (flags & MOJO_READ_DATA_FLAG_PEEK));
+ !!(flags & MOJO_READ_DATA_FLAG_ALL_OR_NONE),
+ !!(flags & MOJO_READ_DATA_FLAG_PEEK));
}
MojoResult DataPipeConsumerDispatcher::BeginReadDataImplNoLock(
« no previous file with comments | « build/secondary/third_party/nss/BUILD.gn ('k') | mojo/services/public/cpp/network/udp_socket_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698