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

Unified Diff: media/base/pipeline_impl.cc

Issue 155230: Made MediaFilter::host_ and MediaFilter::message_loop_ private. (Closed)
Patch Set: Merge with ToT Created 11 years, 5 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/base/mock_media_filters.h ('k') | media/filters/audio_renderer_base.cc » ('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 e9edc4fe2955ba4a6d10d39ed187e8e6dfb7db2f..56a71a6e25375e7628579434db3feee6edb12f08 100644
--- a/media/base/pipeline_impl.cc
+++ b/media/base/pipeline_impl.cc
@@ -604,7 +604,7 @@ void PipelineThread::CreateFilter(FilterFactory* filter_factory,
NOTREACHED() << "Could not start filter thread";
Error(PIPELINE_ERROR_INITIALIZATION_FAILED);
} else {
- filter->SetMessageLoop(thread->message_loop());
+ filter->set_message_loop(thread->message_loop());
filter_threads_.push_back(thread.release());
}
}
@@ -612,7 +612,7 @@ void PipelineThread::CreateFilter(FilterFactory* filter_factory,
// Creating a thread could have failed, verify we're still OK.
if (IsPipelineOk()) {
filter_hosts_.push_back(host.get());
- filter->SetFilterHost(host.release());
+ filter->set_host(host.release());
if (!filter->Initialize(source)) {
Error(PIPELINE_ERROR_INITIALIZATION_FAILED);
}
« no previous file with comments | « media/base/mock_media_filters.h ('k') | media/filters/audio_renderer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698