| Index: gpu/command_buffer/service/gl_context_virtual.cc
|
| diff --git a/gpu/command_buffer/service/gl_context_virtual.cc b/gpu/command_buffer/service/gl_context_virtual.cc
|
| index 5503a94b76307c974910d7e1ae3133b46ab9eac6..bc8c820f28c34fb3e9bc70b6054d00261fb5cbfd 100644
|
| --- a/gpu/command_buffer/service/gl_context_virtual.cc
|
| +++ b/gpu/command_buffer/service/gl_context_virtual.cc
|
| @@ -92,6 +92,13 @@ bool GLContextVirtual::GetTotalGpuMemory(size_t* bytes) {
|
| return shared_context_->GetTotalGpuMemory(bytes);
|
| }
|
|
|
| +void GLContextVirtual::SetSafeToForceGpuSwitch() {
|
| + // TODO(ccameron): This will not work if two contexts that disagree
|
| + // about whether or not forced gpu switching may be done both share
|
| + // the same underlying shared_context_.
|
| + return shared_context_->SetSafeToForceGpuSwitch();
|
| +}
|
| +
|
| bool GLContextVirtual::WasAllocatedUsingRobustnessExtension() {
|
| return shared_context_->WasAllocatedUsingRobustnessExtension();
|
| }
|
|
|