| Index: ui/gl/gl_image_io_surface_unittest.cc
|
| diff --git a/ui/gl/gl_image_io_surface_unittest.cc b/ui/gl/gl_image_io_surface_unittest.cc
|
| index c9ca715bfdfe1551c3801118d23f00e0602d9f6e..e828771534ddf02fe79486857b710f1fec0de3e3 100644
|
| --- a/ui/gl/gl_image_io_surface_unittest.cc
|
| +++ b/ui/gl/gl_image_io_surface_unittest.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "ui/gfx/buffer_format_util.h"
|
| -#include "ui/gfx/mac/io_surface_manager.h"
|
| +#include "ui/gfx/mac/io_surface.h"
|
| #include "ui/gl/gl_image_io_surface.h"
|
| #include "ui/gl/test/gl_image_test_template.h"
|
|
|
| @@ -18,8 +18,7 @@ class GLImageIOSurfaceTestDelegate {
|
| const uint8_t color[4]) const {
|
| scoped_refptr<GLImageIOSurface> image(new GLImageIOSurface(
|
| size, GLImageIOSurface::GetInternalFormatForTesting(format)));
|
| - IOSurfaceRef surface_ref =
|
| - gfx::IOSurfaceManager::CreateIOSurface(size, format);
|
| + IOSurfaceRef surface_ref = gfx::CreateIOSurface(size, format);
|
| IOReturn status = IOSurfaceLock(surface_ref, 0, nullptr);
|
| EXPECT_NE(status, kIOReturnCannotLock);
|
| for (size_t plane = 0; plane < NumberOfPlanesForBufferFormat(format);
|
|
|