diff options
Diffstat (limited to 'chromium/ui/surface/accelerated_surface_mac.h')
-rw-r--r-- | chromium/ui/surface/accelerated_surface_mac.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/ui/surface/accelerated_surface_mac.h b/chromium/ui/surface/accelerated_surface_mac.h index 0fbcbdb30d3..f5ee11cc9d6 100644 --- a/chromium/ui/surface/accelerated_surface_mac.h +++ b/chromium/ui/surface/accelerated_surface_mac.h @@ -6,6 +6,7 @@ #define UI_SURFACE_ACCELERATED_SURFACE_MAC_H_ #include <CoreFoundation/CoreFoundation.h> +#include <IOSurface/IOSurfaceAPI.h> #include "base/callback.h" #include "base/mac/scoped_cftyperef.h" @@ -118,7 +119,7 @@ class SURFACE_EXPORT AcceleratedSurface { // to the shared region (IOSurface). scoped_refptr<gfx::GLSurface> gl_surface_; scoped_refptr<gfx::GLContext> gl_context_; - base::ScopedCFTypeRef<CFTypeRef> io_surface_; + base::ScopedCFTypeRef<IOSurfaceRef> io_surface_; // The id of |io_surface_| or 0 if that's NULL. uint32 io_surface_id_; |