diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-26 03:53:37 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-26 03:53:37 +0000 |
commit | f3ef72c97237c1711cc5c9f5d596d4e7ebde7304 (patch) | |
tree | 159ac0fa045453159a71435790e8ea53b42d7b4b /base/threading/thread_restrictions.cc | |
parent | d9cb5f982bd30a487c27baa350ed6d40ed7e7db6 (diff) | |
download | chromium_src-f3ef72c97237c1711cc5c9f5d596d4e7ebde7304.zip chromium_src-f3ef72c97237c1711cc5c9f5d596d4e7ebde7304.tar.gz chromium_src-f3ef72c97237c1711cc5c9f5d596d4e7ebde7304.tar.bz2 |
Switch thread_restrictions to use the same ifdef flags as thread_checker.
Review URL: https://chromiumcodereview.appspot.com/10662038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144104 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading/thread_restrictions.cc')
-rw-r--r-- | base/threading/thread_restrictions.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/base/threading/thread_restrictions.cc b/base/threading/thread_restrictions.cc index ba77444..3e2f8ca 100644 --- a/base/threading/thread_restrictions.cc +++ b/base/threading/thread_restrictions.cc @@ -4,8 +4,7 @@ #include "base/threading/thread_restrictions.h" -// This entire file is compiled out in official builds. -#if !defined(OFFICIAL_BUILD) +#if defined(ENABLE_THREAD_RESTRICTIONS) #include "base/lazy_instance.h" #include "base/logging.h" @@ -83,4 +82,4 @@ bool ThreadRestrictions::SetWaitAllowed(bool allowed) { } // namespace base -#endif // !defined(OFFICIAL_BUILD) +#endif // defined(ENABLE_THREAD_RESTRICTIONS) |