| Index: content/browser/speech/google_one_shot_remote_engine.cc
|
| diff --git a/content/browser/speech/google_one_shot_remote_engine.cc b/content/browser/speech/google_one_shot_remote_engine.cc
|
| index a74a60dedf3269900aa4e5e7dc169ab4e2ca3173..77f5c2cb6f6c90001d1c161ac3c5bc32dab0f7a0 100644
|
| --- a/content/browser/speech/google_one_shot_remote_engine.cc
|
| +++ b/content/browser/speech/google_one_shot_remote_engine.cc
|
| @@ -210,10 +210,8 @@ void GoogleOneShotRemoteEngine::StartRecognition() {
|
| config_.audio_sample_rate,
|
| config_.audio_num_bits_per_sample));
|
| DCHECK(encoder_.get());
|
| - url_fetcher_.reset(net::URLFetcher::Create(url_fetcher_id_for_tests,
|
| - url,
|
| - net::URLFetcher::POST,
|
| - this));
|
| + url_fetcher_ = net::URLFetcher::Create(url_fetcher_id_for_tests, url,
|
| + net::URLFetcher::POST, this);
|
| url_fetcher_->SetChunkedUpload(encoder_->mime_type());
|
| url_fetcher_->SetRequestContext(url_context_.get());
|
| url_fetcher_->SetReferrer(config_.origin_url);
|
|
|