| Index: ui/gl/gl_implementation_x11.cc
|
| diff --git a/ui/gl/gl_implementation_x11.cc b/ui/gl/gl_implementation_x11.cc
|
| index 2da82547a097ed21f9fefc2967c020c1da8150a3..afaa319fdf80c9f370fc6751472a8ffd1a666c4f 100644
|
| --- a/ui/gl/gl_implementation_x11.cc
|
| +++ b/ui/gl/gl_implementation_x11.cc
|
| @@ -229,4 +229,16 @@ void ClearGLBindings() {
|
| UnloadGLNativeLibraries();
|
| }
|
|
|
| +bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) {
|
| + switch (GetGLImplementation()) {
|
| + case kGLImplementationDesktopGL:
|
| + return GetGLWindowSystemBindingInfoGLX(info);
|
| + case kGLImplementationEGLGLES2:
|
| + return GetGLWindowSystemBindingInfoEGL(info);
|
| + default:
|
| + return false;
|
| + }
|
| + return false;
|
| +}
|
| +
|
| } // namespace gfx
|
|
|