diff options
Diffstat (limited to 'content/browser/power_save_blocker_mac.cc')
-rw-r--r-- | content/browser/power_save_blocker_mac.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/power_save_blocker_mac.cc b/content/browser/power_save_blocker_mac.cc index ec340a1..9b3fe09 100644 --- a/content/browser/power_save_blocker_mac.cc +++ b/content/browser/power_save_blocker_mac.cc @@ -22,7 +22,9 @@ namespace { // http://www.opensource.apple.com/source/IOKitUser/IOKitUser-514.16.31/pwr_mgt.subproj/IOPMLibPrivate.c . struct PowerSaveBlockerLazyInstanceTraits { static const bool kRegisterOnExit = false; +#ifndef NDEBUG static const bool kAllowedToAccessOnNonjoinableThread = true; +#endif static base::Thread* New(void* instance) { base::Thread* thread = new (instance) base::Thread("PowerSaveBlocker"); |