| Index: content/common/gpu/gpu_memory_buffer_factory_surface_texture.h
|
| diff --git a/content/common/gpu/gpu_memory_buffer_factory_surface_texture.h b/content/common/gpu/gpu_memory_buffer_factory_surface_texture.h
|
| index 24679b06c574a702497e9e4958f3e4d8d4f52f24..299cae990e4e47d350e3bbb5a7e920d019e68b92 100644
|
| --- a/content/common/gpu/gpu_memory_buffer_factory_surface_texture.h
|
| +++ b/content/common/gpu/gpu_memory_buffer_factory_surface_texture.h
|
| @@ -7,7 +7,7 @@
|
|
|
| #include "base/containers/hash_tables.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/synchronization/lock.h"
|
| +#include "base/threading/thread_checker.h"
|
| #include "content/common/gpu/gpu_memory_buffer_factory.h"
|
| #include "gpu/command_buffer/service/image_factory.h"
|
| #include "ui/gfx/geometry/size.h"
|
| @@ -57,7 +57,7 @@ class GpuMemoryBufferFactorySurfaceTexture : public GpuMemoryBufferFactory,
|
| typedef base::hash_map<SurfaceTextureMapKey,
|
| scoped_refptr<gfx::SurfaceTexture>> SurfaceTextureMap;
|
| SurfaceTextureMap surface_textures_;
|
| - base::Lock surface_textures_lock_;
|
| + base::ThreadChecker thread_checker_;
|
| };
|
|
|
| } // namespace content
|
|
|