| Index: chrome/browser/speech/speech_input_extension_api.cc
|
| diff --git a/chrome/browser/speech/speech_input_extension_api.cc b/chrome/browser/speech/speech_input_extension_api.cc
|
| index 23afea06e5754a6be9643b6973bd877119390652..f3fd65edf345356e8248230f916e3bc65471747c 100644
|
| --- a/chrome/browser/speech/speech_input_extension_api.cc
|
| +++ b/chrome/browser/speech/speech_input_extension_api.cc
|
| @@ -166,15 +166,15 @@ bool StopSpeechInputFunction::RunImpl() {
|
| profile())->Stop(extension_id(), &error_);
|
| }
|
|
|
| -void IsRecordingSpeechInputFunction::SetResult(bool result) {
|
| +void IsRecordingSpeechInputFunction::SetIsRecordingResult(bool result) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| - result_.reset(Value::CreateBooleanValue(result));
|
| + SetResult(Value::CreateBooleanValue(result));
|
| SendResponse(true);
|
| }
|
|
|
| void IsRecordingSpeechInputFunction::Run() {
|
| SpeechInputExtensionManager::GetForProfile(profile())->IsRecording(
|
| - base::Bind(&IsRecordingSpeechInputFunction::SetResult, this));
|
| + base::Bind(&IsRecordingSpeechInputFunction::SetIsRecordingResult, this));
|
| }
|
|
|
| bool IsRecordingSpeechInputFunction::RunImpl() {
|
|
|