Index: content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
diff --git a/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc b/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
index 604c1b4927388f956c415939b023ce24b242932c..6d54be4c2ef55a7857e0f1788adcc36c7d40b759 100644 |
--- a/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
+++ b/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
@@ -159,7 +159,7 @@ GpuMemoryBufferFactoryIOSurface::CreateImageForGpuMemoryBuffer( |
unsigned internalformat, |
int client_id) { |
base::AutoLock lock(io_surfaces_lock_); |
- |
+ DCHECK(thread_checker_.CalledOnValidThread()); |
reveman
2015/04/07 13:07:05
I don't think we want a thread checker here as tha
dshwang
2015/04/07 14:04:26
We allow CreateGpuMemoryBuffer() to be called on a
reveman
2015/04/07 14:22:00
Sorry I misread this change.
Yes, image creation
|
DCHECK_EQ(handle.type, gfx::IO_SURFACE_BUFFER); |
IOSurfaceMapKey key(handle.id, client_id); |
IOSurfaceMap::iterator it = io_surfaces_.find(key); |