Index: ui/gl/gl_context_egl.cc |
diff --git a/ui/gl/gl_context_egl.cc b/ui/gl/gl_context_egl.cc |
index 8a9e4e4cb2ff7828dd9d5f595a8c48412be5dc1c..fd7b164e204a6a5743cdf3a6fa4a357291efbbda 100644 |
--- a/ui/gl/gl_context_egl.cc |
+++ b/ui/gl/gl_context_egl.cc |
@@ -58,6 +58,7 @@ bool GLContextEGL::Initialize( |
display_ = compatible_surface->GetDisplay(); |
config_ = compatible_surface->GetConfig(); |
+ format_ = compatible_surface->GetFormat(); |
const EGLint* context_attributes = nullptr; |
if (GLSurfaceEGL::IsCreateContextRobustnessSupported()) { |