Commit 697c7421 authored by thakis@chromium.org's avatar thakis@chromium.org

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
parent 6eddfd44
// 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_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment