| Index: content/common/gpu/media/gles2_texture_to_egl_image_translator.cc
|
| diff --git a/content/common/gpu/media/gles2_texture_to_egl_image_translator.cc b/content/common/gpu/media/gles2_texture_to_egl_image_translator.cc
|
| index a3049569a14bcebd80bb526658acfe92a3bcb836..057092d7ba54d38fb897a1b01e92b46de715d3f5 100644
|
| --- a/content/common/gpu/media/gles2_texture_to_egl_image_translator.cc
|
| +++ b/content/common/gpu/media/gles2_texture_to_egl_image_translator.cc
|
| @@ -23,6 +23,7 @@ Gles2TextureToEglImageTranslator::Gles2TextureToEglImageTranslator() {
|
| LOG(DFATAL) << "Failed to get EGL extensions";
|
| return;
|
| }
|
| + CHECK_EQ(eglGetError(), EGL_SUCCESS);
|
| }
|
|
|
|
|
| @@ -41,7 +42,7 @@ EGLImageKHR Gles2TextureToEglImageTranslator::TranslateToEglImage(
|
| EGL_GL_TEXTURE_2D_KHR,
|
| reinterpret_cast<EGLClientBuffer>(texture),
|
| &attrib);
|
| - CHECK(hEglImage);
|
| + CHECK(hEglImage) << eglGetError();
|
| return hEglImage;
|
| }
|
|
|
|
|