Index: base/debug/debugger_posix.cc |
diff --git a/base/debug/debugger_posix.cc b/base/debug/debugger_posix.cc |
index 4dee92db8dcfab1596b7a881342b39dd1014a221..f16cd6d20cd2c0e3c6dccf17cba745a25de0bda0 100644 |
--- a/base/debug/debugger_posix.cc |
+++ b/base/debug/debugger_posix.cc |
@@ -198,7 +198,9 @@ bool BeingDebugged() { |
// Use GDB to set |go| to 1 to resume execution. |
#define DEBUG_BREAK() do { \ |
volatile int go = 0; \ |
- while (!go) { base::PlatformThread::Sleep(100); } \ |
+ while (!go) { \ |
+ base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); \ |
+ } \ |
} while (0) |
#else |
// ARM && !ANDROID |