| Index: ui/gl/gl_image_android.cc
|
| diff --git a/ui/gl/gl_image_android.cc b/ui/gl/gl_image_android.cc
|
| index e56dc2d074be63a8f961fa24c958c44963c46c7f..4d04be1a4c1d8ccffed057902404283833cf8e4a 100644
|
| --- a/ui/gl/gl_image_android.cc
|
| +++ b/ui/gl/gl_image_android.cc
|
| @@ -5,7 +5,7 @@
|
| #include "ui/gl/gl_image.h"
|
|
|
| #include "base/debug/trace_event.h"
|
| -#include "ui/gl/gl_image_egl.h"
|
| +#include "ui/gl/gl_image_android_native_buffer.h"
|
| #include "ui/gl/gl_image_shm.h"
|
| #include "ui/gl/gl_image_stub.h"
|
| #include "ui/gl/gl_implementation.h"
|
| @@ -41,8 +41,9 @@ scoped_refptr<GLImage> GLImage::CreateGLImageForGpuMemoryBuffer(
|
|
|
| return image;
|
| }
|
| - case EGL_CLIENT_BUFFER: {
|
| - scoped_refptr<GLImageEGL> image(new GLImageEGL(size));
|
| + case ANDROID_NATIVE_BUFFER: {
|
| + scoped_refptr<GLImageAndroidNativeBuffer> image(
|
| + new GLImageAndroidNativeBuffer(size));
|
| if (!image->Initialize(buffer))
|
| return NULL;
|
|
|
|
|