| Index: ui/gl/gl_gl_api_implementation.cc
|
| diff --git a/ui/gl/gl_gl_api_implementation.cc b/ui/gl/gl_gl_api_implementation.cc
|
| index 303ae1d1f8aa4f82aba7497f8d72c62c616aef1f..6d8e58eb7c60c4a5950eea1929894710a82d14b5 100644
|
| --- a/ui/gl/gl_gl_api_implementation.cc
|
| +++ b/ui/gl/gl_gl_api_implementation.cc
|
| @@ -144,8 +144,9 @@ bool VirtualGLApi::MakeCurrent(GLContext* virtual_context, GLSurface* surface) {
|
| LOG(ERROR) << "Could not make GLSurface current.";
|
| return false;
|
| }
|
| - } else if (!real_context_->MakeCurrent(surface)) {
|
| - return false;
|
| + } else {
|
| + if (!real_context_->MakeCurrent(surface))
|
| + return false;
|
| }
|
| }
|
|
|
|
|