| Index: ui/gl/gl_context_android.cc
|
| diff --git a/ui/gl/gl_context_android.cc b/ui/gl/gl_context_android.cc
|
| index a9e888b203d41a2912d0e87217ae1a415660013a..4753ce9ef1a98c1fc4c29b47cdb0bc47c02ecfe1 100644
|
| --- a/ui/gl/gl_context_android.cc
|
| +++ b/ui/gl/gl_context_android.cc
|
| @@ -79,10 +79,15 @@ scoped_refptr<GLContext> GLContext::CreateGLContext(
|
| return scoped_refptr<GLContext>(new GLContextStub());
|
|
|
| scoped_refptr<GLContext> context;
|
| - if (compatible_surface->GetHandle())
|
| +/*
|
| + if (compatible_surface->GetHandle()) {
|
| +LOG(ERROR) << "------------------------- GLContextEGL";
|
| context = new GLContextEGL(share_group);
|
| - else
|
| + } else {
|
| +LOG(ERROR) << "------------------------- GLNonOwnedContext";
|
| +*/
|
| context = new GLNonOwnedContext(share_group);
|
| +// }
|
| if (!context->Initialize(compatible_surface, gpu_preference))
|
| return NULL;
|
| return context;
|
|
|