summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-11 16:27:01 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-11 16:27:01 +0000
commit697c7421babe97f08899fab951a44990745bc07d (patch)
tree8931f8f1e23335922cc52778f7c138bd3768a48e /chrome
parent6eddfd447c7c6f3e0fb9a5e46761c857592e9efd (diff)
downloadchromium_src-697c7421babe97f08899fab951a44990745bc07d.zip
chromium_src-697c7421babe97f08899fab951a44990745bc07d.tar.gz
chromium_src-697c7421babe97f08899fab951a44990745bc07d.tar.bz2
vectors are cleared with "clear()", not with "empty()".
BUG=none TEST=none Review URL: http://codereview.chromium.org/10034006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131780 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/process_singleton_uitest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/process_singleton_uitest.cc b/chrome/browser/process_singleton_uitest.cc
index 70f8161..ccd1736 100644
--- a/chrome/browser/process_singleton_uitest.cc
+++ b/chrome/browser/process_singleton_uitest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -315,7 +315,7 @@ TEST_F(ProcessSingletonTest, MAYBE_StartupRaceCondition) {
// "There can be only one!" :-)
ASSERT_EQ(static_cast<size_t>(1), pending_starters.size());
size_t last_index = pending_starters.front();
- pending_starters.empty();
+ pending_starters.clear();
if (chrome_starters_[last_index]->process_handle_ !=
base::kNullProcessHandle) {
KillProcessTree(chrome_starters_[last_index]->process_handle_);