| Index: ui/gl/gl_context_cgl.cc
|
| diff --git a/ui/gl/gl_context_cgl.cc b/ui/gl/gl_context_cgl.cc
|
| index 141d9352a42c56c756a4c367c3d499b9922db4f4..d56729166cc0304a766c54720fdef175628d7dd3 100644
|
| --- a/ui/gl/gl_context_cgl.cc
|
| +++ b/ui/gl/gl_context_cgl.cc
|
| @@ -116,6 +116,11 @@ bool GLContextCGL::Initialize(GLSurface* compatible_surface,
|
| return false;
|
| }
|
|
|
| + // For transparent windows.
|
| + GLint opaque = 0;
|
| + CGLSetParameter(
|
| + static_cast<CGLContextObj>(context_), kCGLCPSurfaceOpacity, &opaque);
|
| +
|
| gpu_preference_ = gpu_preference;
|
| return true;
|
| }
|
|
|