diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 23:57:23 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 23:57:23 +0000 |
commit | cea25d5216c226cfc55c56ccff3e9626878b7c80 (patch) | |
tree | 1414b9588743b478c867b96c4f0a1dde34bc9412 /webkit | |
parent | db99c1b50a8b39899e425a4860cfa03348a68795 (diff) | |
download | chromium_src-cea25d5216c226cfc55c56ccff3e9626878b7c80.zip chromium_src-cea25d5216c226cfc55c56ccff3e9626878b7c80.tar.gz chromium_src-cea25d5216c226cfc55c56ccff3e9626878b7c80.tar.bz2 |
Made MediaFilter::host_ and MediaFilter::message_loop_ private.
More cleanup relating to pipeline cleanup.
BUG=16008
TEST=no real code chage, nothing should change
Review URL: http://codereview.chromium.org/155230
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/media/simple_data_source.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/glue/media/simple_data_source.cc b/webkit/glue/media/simple_data_source.cc index d7ba9c1..2f49e67 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() { |