summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/util
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 20:29:49 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 20:29:49 +0000
commitc2dfb257275ea541cf94c445e0218dae6940afdc (patch)
tree13b4b7693db3042d751e1f32acffcc9844dd7fdc /chrome/browser/sync/util
parent878aa5b7751069c616a5fbb266d9e85d5cfa198a (diff)
downloadchromium_src-c2dfb257275ea541cf94c445e0218dae6940afdc.zip
chromium_src-c2dfb257275ea541cf94c445e0218dae6940afdc.tar.gz
chromium_src-c2dfb257275ea541cf94c445e0218dae6940afdc.tar.bz2
Revert 31109 - Avoid calling PlatformThread::Sleep(1) from event_sys_unittests.cc
BUG=21833 Review URL: http://codereview.chromium.org/360040 TBR=idana@chromium.org Review URL: http://codereview.chromium.org/361035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31122 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/util')
-rw-r--r--chrome/browser/sync/util/event_sys_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/util/event_sys_unittest.cc b/chrome/browser/sync/util/event_sys_unittest.cc
index 0686977..9afd64b 100644
--- a/chrome/browser/sync/util/event_sys_unittest.cc
+++ b/chrome/browser/sync/util/event_sys_unittest.cc
@@ -224,7 +224,7 @@ class ThreadTester : public EventListener<TestEvent>,
remove_event_mutex_.Release();
remove_event_.Broadcast();
- PlatformThread::YieldCurrentThread();
+ PlatformThread::Sleep(1);
for (size_t i = 0; i < threads_.size(); i++) {
if (threads_[i].completed)