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

Unified Diff: content/renderer/media/webmediaplayer_impl.cc

Issue 27420004: Remove threading from RendererGpuVideoAcceleratorFactories (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dthread
Patch Set: 51676bf4 Initial. Created 7 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
Index: content/renderer/media/webmediaplayer_impl.cc
diff --git a/content/renderer/media/webmediaplayer_impl.cc b/content/renderer/media/webmediaplayer_impl.cc
index c6d6afd17e987c2bcb627d0b9bef90bf4f899ebb..85b8be51e158960024f4458e63f5ddcb71bd106e 100644
--- a/content/renderer/media/webmediaplayer_impl.cc
+++ b/content/renderer/media/webmediaplayer_impl.cc
@@ -1170,10 +1170,7 @@ void WebMediaPlayerImpl::Destroy() {
chunk_demuxer_ = NULL;
}
- if (gpu_factories_.get()) {
- gpu_factories_->Abort();
- gpu_factories_ = NULL;
- }
+ gpu_factories_ = NULL;
// Make sure to kill the pipeline so there's no more media threads running.
// Note: stopping the pipeline might block for a long time.

Powered by Google App Engine
This is Rietveld 408576698