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

Unified Diff: media/base/pipeline_impl.cc

Issue 3821005: Make sure to use scoped_refptr for refcounted params in audio/video/remoting (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 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 | « chrome/service/service_process.cc ('k') | media/filters/decoder_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline_impl.cc
diff --git a/media/base/pipeline_impl.cc b/media/base/pipeline_impl.cc
index bd9e9fe8af6f0c7adb6b56f3d39963ae2ebc224f..5d7759cec24d29e0f55af70e99f58f7b3e4cfbe3 100644
--- a/media/base/pipeline_impl.cc
+++ b/media/base/pipeline_impl.cc
@@ -93,8 +93,12 @@ bool PipelineImpl::Start(FilterFactory* factory,
// Kick off initialization!
running_ = true;
- message_loop_->PostTask(FROM_HERE,
- NewRunnableMethod(this, &PipelineImpl::StartTask, factory, url,
+ message_loop_->PostTask(
+ FROM_HERE,
+ NewRunnableMethod(this,
+ &PipelineImpl::StartTask,
+ make_scoped_refptr(factory),
+ url,
callback.release()));
return true;
}
« no previous file with comments | « chrome/service/service_process.cc ('k') | media/filters/decoder_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698