Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / content / common / gpu / image_transport_surface_mac.mm
index 9ab2272..c193f6f 100644 (file)
@@ -5,7 +5,6 @@
 #include "content/common/gpu/image_transport_surface_fbo_mac.h"
 
 #include "content/common/gpu/gpu_messages.h"
-#include "content/common/gpu/image_transport_surface_iosurface_mac.h"
 #include "ui/gfx/native_widget_types.h"
 #include "ui/gl/gl_context.h"
 #include "ui/gl/gl_implementation.h"
@@ -49,7 +48,7 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface(
     case gfx::kGLImplementationDesktopGL:
     case gfx::kGLImplementationAppleGL:
       return scoped_refptr<gfx::GLSurface>(new ImageTransportSurfaceFBO(
-          new IOSurfaceStorageProvider, manager, stub, surface_handle.handle));
+          manager, stub, surface_handle.handle));
     default:
       // Content shell in DRT mode spins up a gpu process which needs an
       // image transport surface, but that surface isn't used to read pixel