| Index: Source/modules/speech/testing/InternalsSpeechSynthesis.cpp
|
| diff --git a/Source/modules/speech/testing/InternalsSpeechSynthesis.cpp b/Source/modules/speech/testing/InternalsSpeechSynthesis.cpp
|
| index 45385e4772908d4fc0d9383e760ceb67845657b8..eab9dccd4d57d9969f95d89cadf80701b439d23e 100644
|
| --- a/Source/modules/speech/testing/InternalsSpeechSynthesis.cpp
|
| +++ b/Source/modules/speech/testing/InternalsSpeechSynthesis.cpp
|
| @@ -39,11 +39,11 @@
|
|
|
| namespace WebCore {
|
|
|
| -void InternalsSpeechSynthesis::enableMockSpeechSynthesizer(Internals* internals, Document* document)
|
| +void InternalsSpeechSynthesis::enableMockSpeechSynthesizer(Internals&, Document* document)
|
| {
|
| - ASSERT(internals && document && document->domWindow());
|
| + ASSERT(document && document->domWindow());
|
|
|
| - SpeechSynthesis* synthesis = DOMWindowSpeechSynthesis::speechSynthesis(document->domWindow());
|
| + SpeechSynthesis* synthesis = DOMWindowSpeechSynthesis::speechSynthesis(*document->domWindow());
|
| if (!synthesis)
|
| return;
|
|
|
|
|