Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: ui/gl/gl_image_io_surface_unittest.cc

Issue 1532813002: Replace IOSurfaceManager by directly passing IOSurface Mach ports over Chrome IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/mac/io_surface_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8936ada8e0d387b74534302c8816c92f0aae44a0..487366fd8a1930d680455b319e89a7d5871d8952 100644
--- a/ui/gl/gl_image_io_surface_unittest.cc
+++ b/ui/gl/gl_image_io_surface_unittest.cc
@@ -7,7 +7,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"
@@ -21,8 +21,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);
« no previous file with comments | « ui/gfx/mac/io_surface_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698