| Index: Source/modules/speech/DOMWindowSpeechSynthesis.cpp
|
| diff --git a/Source/modules/speech/DOMWindowSpeechSynthesis.cpp b/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
|
| index 709c613f99d84000c21dd1a118a239baac359a54..2e4b06c6cd6a972bd16c4477841d82408de60c0e 100644
|
| --- a/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
|
| +++ b/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
|
| @@ -32,6 +32,7 @@
|
| #include "modules/speech/DOMWindowSpeechSynthesis.h"
|
|
|
| #include "core/frame/DOMWindow.h"
|
| +#include "core/frame/Frame.h"
|
| #include "wtf/PassRefPtr.h"
|
|
|
| namespace WebCore {
|
| @@ -70,7 +71,7 @@ SpeechSynthesis* DOMWindowSpeechSynthesis::speechSynthesis(DOMWindow* window)
|
| SpeechSynthesis* DOMWindowSpeechSynthesis::speechSynthesis()
|
| {
|
| if (!m_speechSynthesis && frame())
|
| - m_speechSynthesis = SpeechSynthesis::create();
|
| + m_speechSynthesis = SpeechSynthesis::create(frame()->domWindow()->executionContext());
|
| return m_speechSynthesis.get();
|
| }
|
|
|
|
|