| Index: base/threading/thread_local_storage_win.cc
|
| ===================================================================
|
| --- base/threading/thread_local_storage_win.cc (revision 70315)
|
| +++ base/threading/thread_local_storage_win.cc (working copy)
|
| @@ -1,13 +1,15 @@
|
| -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 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.
|
|
|
| -#include "base/thread_local_storage.h"
|
| +#include "base/threading/thread_local_storage.h"
|
|
|
| #include <windows.h>
|
|
|
| #include "base/logging.h"
|
|
|
| +namespace base {
|
| +
|
| // In order to make TLS destructors work, we need to keep function
|
| // pointers to the destructor for each TLS that we allocate.
|
| // We make this work by allocating a single OS-level TLS, which
|
| @@ -122,6 +124,8 @@
|
| TlsSetValue(tls_key_, NULL);
|
| }
|
|
|
| +} // namespace base
|
| +
|
| // Thread Termination Callbacks.
|
| // Windows doesn't support a per-thread destructor with its
|
| // TLS primitives. So, we build it manually by inserting a
|
|
|