| Index: media/gpu/avda_picture_buffer_manager.cc
|
| diff --git a/media/gpu/avda_picture_buffer_manager.cc b/media/gpu/avda_picture_buffer_manager.cc
|
| index 2a72985817af926c547c625f84b287fc212c756b..8064fa5d31e3d779295cf9abbaf7b92d12a15eba 100644
|
| --- a/media/gpu/avda_picture_buffer_manager.cc
|
| +++ b/media/gpu/avda_picture_buffer_manager.cc
|
| @@ -136,14 +136,6 @@ gl::ScopedJavaSurface AVDAPictureBufferManager::Initialize(
|
| state_provider_ = state_provider;
|
| shared_state_ = new AVDASharedState();
|
|
|
| - bool using_virtual_context = false;
|
| - if (gl::GLContext* context = gl::GLContext::GetCurrent()) {
|
| - if (gl::GLShareGroup* share_group = context->share_group())
|
| - using_virtual_context =
|
| - !!share_group->GetSharedContext(gl::GLSurface::GetCurrent());
|
| - }
|
| - UMA_HISTOGRAM_BOOLEAN("Media.AVDA.VirtualContext", using_virtual_context);
|
| -
|
| // Acquire the SurfaceView surface if given a valid id.
|
| if (surface_view_id != VideoDecodeAccelerator::Config::kNoSurfaceID) {
|
| return gpu::GpuSurfaceLookup::GetInstance()->AcquireJavaSurface(
|
|
|