summaryrefslogtreecommitdiffstats
path: root/base/condition_variable_unittest.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 23:23:47 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 23:23:47 +0000
commitee5e3797e086af04cc8fc23ec32f8b7cc457da01 (patch)
treec3510eb56b5f3bd344e2b027200eb6d2087d7c2e /base/condition_variable_unittest.cc
parent332c74a3af4ce2f33709f2e080b4a7f498759629 (diff)
downloadchromium_src-ee5e3797e086af04cc8fc23ec32f8b7cc457da01.zip
chromium_src-ee5e3797e086af04cc8fc23ec32f8b7cc457da01.tar.gz
chromium_src-ee5e3797e086af04cc8fc23ec32f8b7cc457da01.tar.bz2
Fix a whole bunch of style nits.
(Long term intention is to add a subset of cpplint.py to the presubmit script.) Review URL: http://codereview.chromium.org/276008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28914 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/condition_variable_unittest.cc')
-rw-r--r--base/condition_variable_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/condition_variable_unittest.cc b/base/condition_variable_unittest.cc
index c49a8cb..345d141 100644
--- a/base/condition_variable_unittest.cc
+++ b/base/condition_variable_unittest.cc
@@ -229,7 +229,7 @@ TEST_F(ConditionVariableTest, DISABLED_MultiThreadConsumerTest) {
{
// Wait until all 10 work tasks have at least been assigned.
AutoLock auto_lock(*queue.lock());
- while(queue.task_count())
+ while (queue.task_count())
queue.no_more_tasks()->Wait();
// The last of the tasks *might* still be running, but... all but one should
// be done by now, since tasks are being done serially.
@@ -287,7 +287,7 @@ TEST_F(ConditionVariableTest, DISABLED_MultiThreadConsumerTest) {
{
// Wait until all work tasks have at least been assigned.
AutoLock auto_lock(*queue.lock());
- while(queue.task_count())
+ while (queue.task_count())
queue.no_more_tasks()->Wait();
// Since they can all run almost in parallel, there is no guarantee that all
// tasks are finished, but we should have gotten here faster than it would