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 ed72c01af7504cd59fb8c04148e45f89cf89b410..eab78dd034de13d58ca9d96acedb7252117c3a9d 100644 |
--- a/gpu/gles2_conform_support/egl/display.cc |
+++ b/gpu/gles2_conform_support/egl/display.cc |
@@ -143,7 +143,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; |