diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-25 21:11:36 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-25 21:11:36 +0000 |
commit | 327e52b1a5e90c2af0b9c4e6ecb146d4510f7398 (patch) | |
tree | d8532f5934b28f7ef02e379cedb3d9397586cbc1 /ipc/ipc_channel_win.cc | |
parent | 5f84a0ac03cbb9cab45e2b8fdd8c105c7fd69bbc (diff) | |
download | chromium_src-327e52b1a5e90c2af0b9c4e6ecb146d4510f7398.zip chromium_src-327e52b1a5e90c2af0b9c4e6ecb146d4510f7398.tar.gz chromium_src-327e52b1a5e90c2af0b9c4e6ecb146d4510f7398.tar.bz2 |
Use base::ThreadChecker as a member var, rather than base::NonThreadSafe
BUG=123295
TEST=existing
Review URL: https://chromiumcodereview.appspot.com/10663016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_win.cc')
-rw-r--r-- | ipc/ipc_channel_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc index 981e4b6..c4098f0 100644 --- a/ipc/ipc_channel_win.cc +++ b/ipc/ipc_channel_win.cc @@ -13,7 +13,7 @@ #include "base/process_util.h" #include "base/rand_util.h" #include "base/string_number_conversions.h" -#include "base/threading/non_thread_safe.h" +#include "base/threading/thread_checker.h" #include "base/utf_string_conversions.h" #include "base/win/scoped_handle.h" #include "ipc/ipc_logging.h" @@ -279,7 +279,7 @@ bool Channel::ChannelImpl::Connect() { DLOG_IF(WARNING, thread_check_.get()) << "Connect called more than once"; if (!thread_check_.get()) - thread_check_.reset(new base::NonThreadSafe()); + thread_check_.reset(new base::ThreadChecker()); if (pipe_ == INVALID_HANDLE_VALUE) return false; |