Chromium Code Reviews| Index: content/browser/speech/google_streaming_remote_engine.cc |
| diff --git a/content/browser/speech/google_streaming_remote_engine.cc b/content/browser/speech/google_streaming_remote_engine.cc |
| index 66bd9e664692f109887f8914dbab496d2f39724f..1c809ba9d013f74d6000789450e89a0ff5b4ee5b 100644 |
| --- a/content/browser/speech/google_streaming_remote_engine.cc |
| +++ b/content/browser/speech/google_streaming_remote_engine.cc |
| @@ -567,7 +567,7 @@ std::string GoogleStreamingRemoteEngine::GetAcceptedLanguages() const { |
| net::URLRequestContext* request_context = |
| url_context_->GetURLRequestContext(); |
| DCHECK(request_context); |
| - std::string accepted_language_list = request_context->accept_language(); |
| + std::string accepted_language_list = request_context->GetAcceptLanguage(); |
|
erikwright (departed)
2012/10/24 13:14:33
Presumably the TODO from the one-shot version also
|
| size_t separator = accepted_language_list.find_first_of(",;"); |
| if (separator != std::string::npos) |
| langs = accepted_language_list.substr(0, separator); |