Index: content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h |
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h b/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h |
index 9f552bcf17103ba3cd0549062c97c54e3e0d1861..24bdcf7e3b28f2dc58078383171b38afa586fc89 100644 |
--- a/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h |
@@ -5,11 +5,11 @@ |
#ifndef CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_IO_SURFACE_H_ |
#define CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_IO_SURFACE_H_ |
+#include <IOSurface/IOSurfaceAPI.h> |
+ |
#include "base/mac/scoped_cftyperef.h" |
#include "content/common/gpu/client/gpu_memory_buffer_impl.h" |
-class IOSurfaceSupport; |
- |
namespace content { |
// Implementation of GPU memory buffer based on IO surfaces. |
@@ -32,8 +32,7 @@ class GpuMemoryBufferImplIOSurface : public GpuMemoryBufferImpl { |
virtual gfx::GpuMemoryBufferHandle GetHandle() const OVERRIDE; |
private: |
- IOSurfaceSupport* io_surface_support_; |
- base::ScopedCFTypeRef<CFTypeRef> io_surface_; |
+ base::ScopedCFTypeRef<IOSurfaceRef> io_surface_; |
DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImplIOSurface); |
}; |