| Index: third_party/mojo/src/mojo/edk/system/shared_buffer_dispatcher.h
|
| diff --git a/third_party/mojo/src/mojo/edk/system/shared_buffer_dispatcher.h b/third_party/mojo/src/mojo/edk/system/shared_buffer_dispatcher.h
|
| index deef5b4472824082130d478288a43313f74fdd77..1222e030c185364ce3347b229a2bdcaa9c230141 100644
|
| --- a/third_party/mojo/src/mojo/edk/system/shared_buffer_dispatcher.h
|
| +++ b/third_party/mojo/src/mojo/edk/system/shared_buffer_dispatcher.h
|
| @@ -93,14 +93,17 @@ class MOJO_SYSTEM_IMPL_EXPORT SharedBufferDispatcher final
|
| scoped_ptr<embedder::PlatformSharedBufferMapping>* mapping) override;
|
| void StartSerializeImplNoLock(Channel* channel,
|
| size_t* max_size,
|
| - size_t* max_platform_handles) override;
|
| + size_t* max_platform_handles) override
|
| + MOJO_NOT_THREAD_SAFE;
|
| bool EndSerializeAndCloseImplNoLock(
|
| Channel* channel,
|
| void* destination,
|
| size_t* actual_size,
|
| - embedder::PlatformHandleVector* platform_handles) override;
|
| + embedder::PlatformHandleVector* platform_handles) override
|
| + MOJO_NOT_THREAD_SAFE;
|
|
|
| - scoped_refptr<embedder::PlatformSharedBuffer> shared_buffer_;
|
| + scoped_refptr<embedder::PlatformSharedBuffer> shared_buffer_
|
| + MOJO_GUARDED_BY(mutex());
|
|
|
| MOJO_DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher);
|
| };
|
|
|