Index: ui/gl/gl_context.cc |
diff --git a/ui/gl/gl_context.cc b/ui/gl/gl_context.cc |
index ada2127d5075d538b295dd87537076b4b2a5cd96..42dadd2a69d35357487f1ea2a64045378e9602ab 100644 |
--- a/ui/gl/gl_context.cc |
+++ b/ui/gl/gl_context.cc |
@@ -206,10 +206,7 @@ bool GLContext::WasAllocatedUsingRobustnessExtension() { |
bool GLContext::InitializeDynamicBindings() { |
DCHECK(IsCurrent(nullptr)); |
- static bool initialized = false; |
- if (initialized) |
- return initialized; |
- initialized = InitializeDynamicGLBindings(GetGLImplementation(), this); |
+ bool initialized = InitializeDynamicGLBindings(GetGLImplementation(), this); |
if (!initialized) |
LOG(ERROR) << "Could not initialize dynamic bindings."; |
return initialized; |