| Index: base/synchronization/lock_impl.h
|
| diff --git a/base/synchronization/lock_impl.h b/base/synchronization/lock_impl.h
|
| index 603585a05041764e20c41c17f57504130ba82110..539523de4c3a80e20553ebed96e6861682679797 100644
|
| --- a/base/synchronization/lock_impl.h
|
| +++ b/base/synchronization/lock_impl.h
|
| @@ -13,6 +13,8 @@
|
| #include <windows.h>
|
| #elif defined(OS_POSIX)
|
| #include <pthread.h>
|
| +#elif defined(OS_FUCHSIA)
|
| +#include <threads.h>
|
| #endif
|
|
|
| namespace base {
|
| @@ -26,7 +28,9 @@ class BASE_EXPORT LockImpl {
|
| #if defined(OS_WIN)
|
| using NativeHandle = SRWLOCK;
|
| #elif defined(OS_POSIX)
|
| - using NativeHandle = pthread_mutex_t;
|
| + using NativeHandle = pthread_mutex_t;
|
| +#elif defined(OS_FUCHSIA)
|
| + using NativeHandle = mtx_t;
|
| #endif
|
|
|
| LockImpl();
|
|
|