Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: media/gpu/avda_picture_buffer_manager.cc

Issue 2447463002: Remove some unneeded media.AVDA histograms. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/gpu/android_video_decode_accelerator.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « media/gpu/android_video_decode_accelerator.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698