| Index: ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h
|
| diff --git a/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h b/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h
|
| index 006a4a5497ac72a7242ce4506e0ceee8de39bd3b..7f620497cf2b4bbc16d33e9a2c9306e4d58d29e5 100644
|
| --- a/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h
|
| +++ b/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h
|
| @@ -8,7 +8,7 @@
|
| #include <map>
|
|
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/synchronization/lock.h"
|
| +#include "base/threading/thread_checker.h"
|
| #include "ui/gfx/geometry/size.h"
|
| #include "ui/gfx/gpu_memory_buffer.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| @@ -57,7 +57,7 @@ class OZONE_GPU_EXPORT GpuMemoryBufferFactoryOzoneNativeBuffer {
|
|
|
| private:
|
| BufferToPixmapMap native_pixmap_map_;
|
| - base::Lock native_pixmap_map_lock_;
|
| + base::ThreadChecker thread_checker_;
|
| };
|
|
|
| } // namespace ui
|
|
|