| Index: content/common/gpu/gpu_memory_buffer_factory_io_surface.h
|
| diff --git a/content/common/gpu/gpu_memory_buffer_factory_io_surface.h b/content/common/gpu/gpu_memory_buffer_factory_io_surface.h
|
| index 753e16091353a7e3b264218b7e02059595a48ed1..d2fd00dbe3dc42e3391e1f4ada3026ac21b590f4 100644
|
| --- a/content/common/gpu/gpu_memory_buffer_factory_io_surface.h
|
| +++ b/content/common/gpu/gpu_memory_buffer_factory_io_surface.h
|
| @@ -19,7 +19,7 @@
|
| #include "gpu/command_buffer/service/image_factory.h"
|
| #include "ui/gfx/geometry/size.h"
|
| #include "ui/gfx/gpu_memory_buffer.h"
|
| -#include "ui/gfx/mac/io_surface_manager.h"
|
| +#include "ui/gfx/mac/io_surface.h"
|
|
|
| namespace gl {
|
| class GLImage;
|
| @@ -67,6 +67,8 @@ class CONTENT_EXPORT GpuMemoryBufferFactoryIOSurface
|
| typedef std::pair<gfx::IOSurfaceId, int> IOSurfaceMapKey;
|
| typedef base::hash_map<IOSurfaceMapKey, base::ScopedCFTypeRef<IOSurfaceRef>>
|
| IOSurfaceMap;
|
| + // TOOD(reveman): Remove |io_surfaces_| and allow IOSurface backed GMBs to be
|
| + // used with any GPU process by passing a mach_port to CreateImageCHROMIUM.
|
| IOSurfaceMap io_surfaces_;
|
| base::Lock io_surfaces_lock_;
|
|
|
|
|