| Index: ui/gl/gl_surface_glx.cc
|
| diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc
|
| index 5acfc7c9d214560663cc7ad1649ececbe9eb3e3d..f4ca0d9683863ea1e22c2928047fbefe526cff99 100644
|
| --- a/ui/gl/gl_surface_glx.cc
|
| +++ b/ui/gl/gl_surface_glx.cc
|
| @@ -348,7 +348,7 @@ bool GLSurfaceGLX::InitializeOneOff() {
|
| HasGLXExtension("GLX_SGI_video_sync");
|
|
|
| if (!g_glx_get_msc_rate_oml_supported && g_glx_sgi_video_sync_supported)
|
| - SGIVideoSyncProviderThreadShim::display_ = XOpenDisplay(NULL);
|
| + SGIVideoSyncProviderThreadShim::display_ = gfx::OpenNewXDisplay();
|
|
|
| initialized = true;
|
| return true;
|
|
|