diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-04 20:57:58 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-04 20:57:58 +0000 |
commit | 076bf0b69eafa42accb20e5ccfe23805ed91655d (patch) | |
tree | 9db5d60018d0b35a87a87549ae82614e8b0f3e21 /chrome/test/ui | |
parent | 07c00d99969c6584079c78a2e31cb0d5ad5beda7 (diff) | |
download | chromium_src-076bf0b69eafa42accb20e5ccfe23805ed91655d.zip chromium_src-076bf0b69eafa42accb20e5ccfe23805ed91655d.tar.gz chromium_src-076bf0b69eafa42accb20e5ccfe23805ed91655d.tar.bz2 |
Make UITest::CrashAwareSleep portable.
Review URL: http://codereview.chromium.org/40119
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10916 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui')
-rw-r--r-- | chrome/test/ui/ui_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc index b5ef095..2ad0952 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*/ |