| Index: ui/gl/gl_image_egl.cc
|
| diff --git a/ui/gl/gl_image_egl.cc b/ui/gl/gl_image_egl.cc
|
| index f85bcd686aefc4e06be02acf34c578a9baa4f620..a13214db06d597f7a9375c09d971c95d72ad734d 100644
|
| --- a/ui/gl/gl_image_egl.cc
|
| +++ b/ui/gl/gl_image_egl.cc
|
| @@ -22,7 +22,7 @@ bool GLImageEGL::Initialize(EGLenum target,
|
| const EGLint* attrs) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| DCHECK_EQ(EGL_NO_IMAGE_KHR, egl_image_);
|
| - egl_image_ = eglCreateImageKHR(gl::GLSurfaceEGL::GetHardwareDisplay(),
|
| + egl_image_ = eglCreateImageKHR(GLSurfaceEGL::GetHardwareDisplay(),
|
| EGL_NO_CONTEXT, target, buffer, attrs);
|
| if (egl_image_ == EGL_NO_IMAGE_KHR) {
|
| DLOG(ERROR) << "Error creating EGLImage: " << ui::GetLastEGLErrorString();
|
| @@ -36,7 +36,7 @@ void GLImageEGL::Destroy(bool have_context) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| if (egl_image_ != EGL_NO_IMAGE_KHR) {
|
| EGLBoolean result =
|
| - eglDestroyImageKHR(gl::GLSurfaceEGL::GetHardwareDisplay(), egl_image_);
|
| + eglDestroyImageKHR(GLSurfaceEGL::GetHardwareDisplay(), egl_image_);
|
| if (result == EGL_FALSE) {
|
| DLOG(ERROR) << "Error destroying EGLImage: "
|
| << ui::GetLastEGLErrorString();
|
|
|