Index: content/common/sandbox_mac.mm |
diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm |
index 94c3c3dc19dee6b629e3e16a68f2e43690d048a8..f4ea8d575831570cb80a408921bff485a185a998 100644 |
--- a/content/common/sandbox_mac.mm |
+++ b/content/common/sandbox_mac.mm |
@@ -37,7 +37,6 @@ extern "C" { |
#include "third_party/icu/source/common/unicode/uchar.h" |
#include "ui/base/layout.h" |
#include "ui/gl/gl_surface.h" |
-#include "ui/gl/io_surface_support_mac.h" |
namespace content { |
namespace { |
@@ -306,11 +305,7 @@ void Sandbox::SandboxWarmup(int sandbox_type) { |
{ // IOSurfaceLookup() - 10.7 |
// Needed by zero-copy texture update framework - crbug.com/323338 |
- IOSurfaceSupport* io_surface_support = IOSurfaceSupport::Initialize(); |
- if (io_surface_support) { |
- base::ScopedCFTypeRef<CFTypeRef> io_surface( |
- io_surface_support->IOSurfaceLookup(0)); |
- } |
+ base::ScopedCFTypeRef<IOSurfaceRef> io_surface(IOSurfaceLookup(0)); |
} |
// Process-type dependent warm-up. |