Index: chrome/browser/resources/chromeos/chromevox/testing/mock_tts.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/testing/mock_tts.js b/chrome/browser/resources/chromeos/chromevox/testing/mock_tts.js |
index 3308992120cd8b9da4a5ad9930711d707f739dd7..3f32d0ca400195ba699af41f9c70f0463edc5d2d 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/testing/mock_tts.js |
+++ b/chrome/browser/resources/chromeos/chromevox/testing/mock_tts.js |
@@ -62,10 +62,11 @@ MockTts.prototype = { |
}, |
/** |
- * Finishes expectations and calls testDone. |
+ * Finishes expectations and calls {@code callback} afterwards. |
+ * @param {Function} callback |
*/ |
- finishExpectations: function() { |
- this.expectSpeechAfter('', testDone); |
+ finishExpectations: function(callback) { |
+ this.expectSpeechAfter('', callback); |
}, |
/** |