| Index: content/common/gpu/gpu_channel_manager.cc
|
| diff --git a/content/common/gpu/gpu_channel_manager.cc b/content/common/gpu/gpu_channel_manager.cc
|
| index 4e7d2882c23eb80cb4329893ece1a858904865fe..6417c3882695c2399505941980acdebca3b4671f 100644
|
| --- a/content/common/gpu/gpu_channel_manager.cc
|
| +++ b/content/common/gpu/gpu_channel_manager.cc
|
| @@ -270,4 +270,12 @@ gfx::GLSurface* GpuChannelManager::GetDefaultOffscreenSurface() {
|
| return default_offscreen_surface_.get();
|
| }
|
|
|
| +bool GpuChannelManager::MakeCurrent(gfx::GLSurface* surface) {
|
| + gfx::GLContext* context = share_group_->GetContext();
|
| + if (context)
|
| + return context->MakeCurrent(surface);
|
| +
|
| + return false;
|
| +}
|
| +
|
| } // namespace content
|
|
|