Index: gpu/gles2_conform_support/egl/display.cc |
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc |
index 6eb6eab444575478d334d41f6d73762f4c9255b0..9df88e509f7aae8e60e6785a150f5f1f7187306f 100644 |
--- a/gpu/gles2_conform_support/egl/display.cc |
+++ b/gpu/gles2_conform_support/egl/display.cc |
@@ -142,7 +142,7 @@ EGLSurface Display::CreateWindowSurface(EGLConfig config, |
if (!gl_context_.get()) |
return EGL_NO_SURFACE; |
- gl_context_->MakeCurrent(gl_surface_); |
+ gl_context_->MakeCurrent(gl_surface_.get()); |
EGLint depth_size = 0; |
EGLint alpha_size = 0; |