| Index: Source/modules/speech/SpeechRecognition.cpp
|
| diff --git a/Source/modules/speech/SpeechRecognition.cpp b/Source/modules/speech/SpeechRecognition.cpp
|
| index 89fd26952dc131fe035e4d3f8dc3ca64c65956db..e4876278fa82991a670bc812120f43681137fa3d 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());
|
|
|
| - LocalFrame* frame = document->frame();
|
| - ASSERT(frame);
|
| + Page* page = document->page();
|
| + ASSERT(page);
|
|
|
| - m_controller = SpeechRecognitionController::from(*frame);
|
| + m_controller = SpeechRecognitionController::from(page);
|
| ASSERT(m_controller);
|
|
|
| // FIXME: Need to hook up with Page to get notified when the visibility changes.
|
|
|