| Index: gpu/command_buffer/service/gpu_processor_mac.cc
|
| ===================================================================
|
| --- gpu/command_buffer/service/gpu_processor_mac.cc (revision 49795)
|
| +++ gpu/command_buffer/service/gpu_processor_mac.cc (working copy)
|
| @@ -40,8 +40,7 @@
|
| if (window) {
|
| surface_.reset(new AcceleratedSurface());
|
| // TODO(apatrick): AcceleratedSurface will not work with an OSMesa context.
|
| - if (!surface_->Initialize(
|
| - static_cast<CGLContextObj>(context_->GetHandle()), false)) {
|
| + if (!surface_->Initialize(context_.get(), false)) {
|
| Destroy();
|
| return false;
|
| }
|
|
|