| 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() {
|
|
|