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

Unified Diff: mojo/shell/data_pipe_peek.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 | « mojo/shell/data_pipe_peek.h ('k') | mojo/shell/data_pipe_peek_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/data_pipe_peek.cc
diff --git a/mojo/shell/data_pipe_peek.cc b/mojo/shell/data_pipe_peek.cc
index 7007f24a6ca73d7d10ace75ae6b6d13ab2c923a0..46293ee9b93e419c6e8b7e35859898c62313005b 100644
--- a/mojo/shell/data_pipe_peek.cc
+++ b/mojo/shell/data_pipe_peek.cc
@@ -4,6 +4,7 @@
#include "mojo/shell/data_pipe_peek.h"
+#include <stddef.h>
#include <stdint.h>
#include <algorithm>
@@ -43,7 +44,7 @@ class PeekSleeper {
MojoTimeTicks sleep_time =
(deadline_ == 0) ? kMaxSleepMicros
- : std::min<int64>(deadline_ - now, kMaxSleepMicros);
+ : std::min<int64_t>(deadline_ - now, kMaxSleepMicros);
base::PlatformThread::Sleep(base::TimeDelta::FromMicroseconds(sleep_time));
return true;
}
« no previous file with comments | « mojo/shell/data_pipe_peek.h ('k') | mojo/shell/data_pipe_peek_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698