Chromium Code Reviews| Index: base/lock.h |
| =================================================================== |
| --- base/lock.h (revision 66704) |
| +++ base/lock.h (working copy) |
| @@ -7,6 +7,9 @@ |
| #pragma once |
| #include "base/lock_impl.h" |
| +#if !defined(NDEBUG) |
| +#include "base/platform_thread.h" |
|
jar (doing other things)
2010/11/19 01:45:14
IMO, using conditional inclusion depending on debu
Lei Zhang
2010/11/19 19:06:16
I can definitely see this causing release vs. debu
|
| +#endif |
| // A convenient wrapper for an OS specific critical section. The only real |
| // intelligence in this class is in debug mode for the support for the |