| Index: base/thread.cc
|
| ===================================================================
|
| --- base/thread.cc (revision 8731)
|
| +++ base/thread.cc (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2006-2009 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.
|
|
|
| @@ -29,7 +29,9 @@
|
| // Used to synchronize thread startup.
|
| WaitableEvent event;
|
|
|
| - StartupData(const Options& opt) : options(opt), event(false, false) {}
|
| + explicit StartupData(const Options& opt)
|
| + : options(opt),
|
| + event(false, false) {}
|
| };
|
|
|
| Thread::Thread(const char *name)
|
| @@ -161,6 +163,7 @@
|
|
|
| // We can't receive messages anymore.
|
| message_loop_ = NULL;
|
| + thread_id_ = 0;
|
| }
|
|
|
| } // namespace base
|
|
|