diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 23:24:52 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 23:24:52 +0000 |
commit | e12ee230a5555a8833051ac5a55c8e4a5d2b48ed (patch) | |
tree | d7df97e6184d7be23e1710be728332f1d0077f68 /webkit/glue/media | |
parent | 859bcc91dc0cca4984fceecfe406c6042d209fe6 (diff) | |
download | chromium_src-e12ee230a5555a8833051ac5a55c8e4a5d2b48ed.zip chromium_src-e12ee230a5555a8833051ac5a55c8e4a5d2b48ed.tar.gz chromium_src-e12ee230a5555a8833051ac5a55c8e4a5d2b48ed.tar.bz2 |
Revert "Made MediaFilter::host_ and MediaFilter::message_loop_ private."
TEST=none
BUG=none
TBR=evmar
Review URL: http://codereview.chromium.org/155333
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20336 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/media')
-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 2f49e67..d7ba9c1 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() { |