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

Unified Diff: chrome/test/ui/ui_test.cc

Issue 40119: Make UITest::CrashAwareSleep portable. (Closed)
Patch Set: Created 11 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 | « base/process_util_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/ui_test.cc
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
index b5ef095ecfe87f38508646779f9d3893d847a922..2ad0952ce1ea156b01bb83b7092908d1808b0c46 100644
--- a/chrome/test/ui/ui_test.cc
+++ b/chrome/test/ui/ui_test.cc
@@ -576,7 +576,7 @@ bool UITest::IsBrowserRunning() {
}
bool UITest::CrashAwareSleep(int time_out_ms) {
- return WAIT_TIMEOUT == WaitForSingleObject(process_, time_out_ms);
+ return base::CrashAwareSleep(process_, time_out_ms);
}
/*static*/
« no previous file with comments | « base/process_util_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698