| Index: ui/gl/gl_fence.cc
|
| diff --git a/ui/gl/gl_fence.cc b/ui/gl/gl_fence.cc
|
| index 183a12d5e69e75104573afa82d1b2dc61856195c..9a3523e566850f34e7cc87c1356ee9ad1863d881 100644
|
| --- a/ui/gl/gl_fence.cc
|
| +++ b/ui/gl/gl_fence.cc
|
| @@ -82,9 +82,9 @@ GLFence::~GLFence() {
|
|
|
| // static
|
| GLFence* GLFence::Create() {
|
| - if (gfx::g_GL_NV_fence) {
|
| + if (gfx::g_driver_gl.ext.b_GL_NV_fence) {
|
| return new GLFenceNVFence();
|
| - } else if (gfx::g_GL_ARB_sync) {
|
| + } else if (gfx::g_driver_gl.ext.b_GL_ARB_sync) {
|
| return new GLFenceARBSync();
|
| } else {
|
| return NULL;
|
| @@ -93,7 +93,8 @@ GLFence* GLFence::Create() {
|
|
|
| // static
|
| bool GLFence::IsContextLost() {
|
| - if (!gfx::g_GL_ARB_robustness && !gfx::g_GL_EXT_robustness)
|
| + if (!gfx::g_driver_gl.ext.b_GL_ARB_robustness &&
|
| + !gfx::g_driver_gl.ext.b_GL_EXT_robustness)
|
| return false;
|
|
|
| if (!gfx::GLContext::GetCurrent() ||
|
|
|