| Index: ui/ozone/demo/surfaceless_gl_renderer.cc
|
| diff --git a/ui/ozone/demo/surfaceless_gl_renderer.cc b/ui/ozone/demo/surfaceless_gl_renderer.cc
|
| index 0bba9bee5f9c8bfa4bd55874a749a90594951e4f..ddade3fb6d5b450376886891144a94374dc9e512 100644
|
| --- a/ui/ozone/demo/surfaceless_gl_renderer.cc
|
| +++ b/ui/ozone/demo/surfaceless_gl_renderer.cc
|
| @@ -14,8 +14,8 @@
|
| #include "ui/gl/gl_bindings.h"
|
| #include "ui/gl/gl_context.h"
|
| #include "ui/gl/gl_image.h"
|
| +#include "ui/gl/gl_image_native_pixmap.h"
|
| #include "ui/gl/gl_surface.h"
|
| -#include "ui/ozone/gl/gl_image_ozone_native_pixmap.h"
|
| #include "ui/ozone/public/ozone_platform.h"
|
| #include "ui/ozone/public/surface_factory_ozone.h"
|
|
|
| @@ -45,8 +45,8 @@ bool SurfacelessGlRenderer::BufferWrapper::Initialize(
|
| OzonePlatform::GetInstance()
|
| ->GetSurfaceFactoryOzone()
|
| ->CreateNativePixmap(widget, size, format, gfx::BufferUsage::SCANOUT);
|
| - scoped_refptr<ui::GLImageOzoneNativePixmap> image(
|
| - new ui::GLImageOzoneNativePixmap(size, GL_RGB));
|
| + scoped_refptr<ui::GLImageNativePixmap> image(
|
| + new ui::GLImageNativePixmap(size, GL_RGB));
|
| if (!image->Initialize(pixmap.get(), format)) {
|
| LOG(ERROR) << "Failed to create GLImage";
|
| return false;
|
|
|