| Index: Source/modules/speech/SpeechRecognition.cpp
|
| diff --git a/Source/modules/speech/SpeechRecognition.cpp b/Source/modules/speech/SpeechRecognition.cpp
|
| index 16d59af59a4ab2b0494dc03378537b5f4fdb0121..e641b5619f7612b2e56713d80f203488d89e8ed3 100644
|
| --- a/Source/modules/speech/SpeechRecognition.cpp
|
| +++ b/Source/modules/speech/SpeechRecognition.cpp
|
| @@ -180,10 +180,10 @@ SpeechRecognition::SpeechRecognition(ExecutionContext* context)
|
| {
|
| Document* document = toDocument(executionContext());
|
|
|
| - Page* page = document->page();
|
| - ASSERT(page);
|
| + LocalFrame* frame = document->frame();
|
| + ASSERT(frame);
|
|
|
| - m_controller = SpeechRecognitionController::from(page);
|
| + m_controller = SpeechRecognitionController::from(*frame);
|
| ASSERT(m_controller);
|
|
|
| // FIXME: Need to hook up with Page to get notified when the visibility changes.
|
|
|