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

Unified Diff: webkit/glue/media/simple_data_source.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/filters/video_renderer_base.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/media/simple_data_source.cc
diff --git a/webkit/glue/media/simple_data_source.cc b/webkit/glue/media/simple_data_source.cc
index d7ba9c14ba6eb7e56cc598694bf7e87214b134fa..2f49e67a2e4ca2aae8464049b8fc1ae65c487c75 100644
--- a/webkit/glue/media/simple_data_source.cc
+++ b/webkit/glue/media/simple_data_source.cc
@@ -63,7 +63,7 @@ bool SimpleDataSource::Initialize(const std::string& url) {
// Validate the URL.
SetURL(GURL(url));
if (!url_.is_valid() || !IsSchemeSupported(url_)) {
- host_->Error(media::PIPELINE_ERROR_NETWORK);
+ host()->Error(media::PIPELINE_ERROR_NETWORK);
return false;
}
@@ -145,15 +145,15 @@ void SimpleDataSource::OnCompletedRequest(const URLRequestStatus& status,
size_ = data_.length();
}
if (!status.is_success()) {
- host_->Error(media::PIPELINE_ERROR_NETWORK);
+ host()->Error(media::PIPELINE_ERROR_NETWORK);
return;
}
// We're initialized!
state_ = INITIALIZED;
- host_->SetTotalBytes(size_);
- host_->SetBufferedBytes(size_);
- host_->InitializationComplete();
+ host()->SetTotalBytes(size_);
+ host()->SetBufferedBytes(size_);
+ host()->InitializationComplete();
}
std::string SimpleDataSource::GetURLForDebugging() {
« no previous file with comments | « media/filters/video_renderer_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698