| Index: content/child/child_io_surface_manager_mac.h
|
| diff --git a/content/child/child_io_surface_manager_mac.h b/content/child/child_io_surface_manager_mac.h
|
| index 40098e4e3a564f688411a94e056d7619630fa375..4984598e05e5149e1739f13ba369f93006fe3052 100644
|
| --- a/content/child/child_io_surface_manager_mac.h
|
| +++ b/content/child/child_io_surface_manager_mac.h
|
| @@ -38,7 +38,7 @@ class CONTENT_EXPORT ChildIOSurfaceManager : public IOSurfaceManager {
|
| // Set the token used when communicating with the Mach service.
|
| void set_token(const IOSurfaceManagerToken& token) {
|
| token_ = token;
|
| -#if !defined(NDEBUG)
|
| +#if DCHECK_IS_ON()
|
| set_token_thread_id_ = base::PlatformThread::CurrentRef();
|
| #endif
|
| set_token_event_.Signal();
|
| @@ -52,7 +52,7 @@ class CONTENT_EXPORT ChildIOSurfaceManager : public IOSurfaceManager {
|
|
|
| base::mac::ScopedMachSendRight service_port_;
|
| IOSurfaceManagerToken token_;
|
| -#if !defined(NDEBUG)
|
| +#if DCHECK_IS_ON()
|
| base::PlatformThreadRef set_token_thread_id_;
|
| #endif
|
| base::WaitableEvent set_token_event_;
|
|
|