Index: third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-cancel-twice.html |
diff --git a/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-cancel-twice.html b/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-cancel-twice.html |
index ec23fc63334ce3eb0307a88f0ce61699d58a0e72..64d82de38f8b87ea7fdb10c03d68cc376af052c5 100644 |
--- a/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-cancel-twice.html |
+++ b/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-cancel-twice.html |
@@ -12,7 +12,7 @@ |
description("This tests that cancelling an utterance a second time after garbage collection doesn't crash under ASAN."); |
if (window.internals) |
- window.internals.enableMockSpeechSynthesizer(document); |
+ window.internals.enableMockSpeechSynthesizer(window); |
speechSynthesis.speak(new SpeechSynthesisUtterance("Hello")); |
speechSynthesis.cancel(); |