Index: media/tools/player_x11/gl_video_renderer.cc |
diff --git a/media/tools/player_x11/gl_video_renderer.cc b/media/tools/player_x11/gl_video_renderer.cc |
index 58d122a0d66cf9f6306b6359a57d14e274bec1c7..6ccfd27deb7331b0357a5da40ccae7500e9ba842 100644 |
--- a/media/tools/player_x11/gl_video_renderer.cc |
+++ b/media/tools/player_x11/gl_video_renderer.cc |
@@ -20,8 +20,8 @@ static GLXContext InitGLContext(Display* display, Window window) { |
// dlopen/dlsym, and so linking it into chrome breaks it. So we dynamically |
// load it, and use glew to dynamically resolve symbols. |
// See http://code.google.com/p/chromium/issues/detail?id=16800 |
- if (!InitializeStaticGLBindings(gfx::kGLImplementationDesktopGL)) { |
- LOG(ERROR) << "InitializeStaticGLBindings failed"; |
+ if (!gfx::GLSurface::InitializeOneOff()) { |
+ LOG(ERROR) << "GLSurface::InitializeOneOff failed"; |
return NULL; |
} |