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

Unified Diff: base/debug/debugger.cc

Issue 9055001: Change code in base (primarily unit tests) to use Sleep(TimeDelta). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Qualify windows Sleep calls to go through PlatformThread. Created 9 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 | « no previous file | base/debug/debugger_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/debugger.cc
diff --git a/base/debug/debugger.cc b/base/debug/debugger.cc
index a0d8a92294a78b34a2ea82d7cdc78ea80673312b..79233c58c5720752419de8f564ff37147d3f3146 100644
--- a/base/debug/debugger.cc
+++ b/base/debug/debugger.cc
@@ -24,7 +24,7 @@ bool WaitForDebugger(int wait_seconds, bool silent) {
BreakDebugger();
return true;
}
- PlatformThread::Sleep(100);
+ PlatformThread::Sleep(TimeDelta::FromMilliseconds(100));
}
return false;
}
« no previous file with comments | « no previous file | base/debug/debugger_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698