| Index: ui/gl/gl_context_cgl.cc
|
| diff --git a/ui/gl/gl_context_cgl.cc b/ui/gl/gl_context_cgl.cc
|
| index 56a2a642d03d908e71710df7390d78f54ca3d199..4ee17588d8e090d302ceeed69f5cb80c3382bb4a 100644
|
| --- a/ui/gl/gl_context_cgl.cc
|
| +++ b/ui/gl/gl_context_cgl.cc
|
| @@ -112,10 +112,10 @@ void GLContextCGL::Destroy() {
|
| if (discrete_pixelformat_) {
|
| // Delay releasing the pixel format for 10 seconds to reduce the number of
|
| // unnecessary GPU switches.
|
| - MessageLoop::current()->PostDelayedTask(FROM_HERE,
|
| - base::Bind(&CGLReleasePixelFormat,
|
| - discrete_pixelformat_),
|
| - base::TimeDelta::FromSeconds(10));
|
| + base::MessageLoop::current()->PostDelayedTask(
|
| + FROM_HERE,
|
| + base::Bind(&CGLReleasePixelFormat, discrete_pixelformat_),
|
| + base::TimeDelta::FromSeconds(10));
|
| discrete_pixelformat_ = NULL;
|
| }
|
| if (context_) {
|
|
|