summaryrefslogtreecommitdiffstats
path: root/chrome/browser/speech/speech_recognition_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/speech/speech_recognition_request.cc')
-rw-r--r--chrome/browser/speech/speech_recognition_request.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/speech/speech_recognition_request.cc b/chrome/browser/speech/speech_recognition_request.cc
index 402af7e..1281666 100644
--- a/chrome/browser/speech/speech_recognition_request.cc
+++ b/chrome/browser/speech/speech_recognition_request.cc
@@ -134,7 +134,8 @@ bool SpeechRecognitionRequest::Send(const std::string& language,
// If no language is provided then we use the first from the accepted
// language list. If this list is empty then it defaults to "en-US".
// Example of the contents of this list: "es,en-GB;q=0.8", ""
- URLRequestContext* request_context = url_context_->GetURLRequestContext();
+ net::URLRequestContext* request_context =
+ url_context_->GetURLRequestContext();
DCHECK(request_context);
std::string accepted_language_list = request_context->accept_language();
size_t separator = accepted_language_list.find_first_of(",;");