Index: third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp |
diff --git a/third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp b/third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp |
index c1b5b5f6a3d9074da0a2ab659ea7fa50c1c351bc..d4b91e10256544f66d5899a6ca0bb6552c33bc6c 100644 |
--- a/third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp |
+++ b/third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp |
@@ -62,7 +62,7 @@ const HeapVector<Member<SpeechSynthesisVoice>>& SpeechSynthesis::getVoices() { |
m_platformSpeechSynthesizer->voiceList(); |
size_t voiceCount = platformVoices.size(); |
for (size_t k = 0; k < voiceCount; k++) |
- m_voiceList.append(SpeechSynthesisVoice::create(platformVoices[k])); |
+ m_voiceList.push_back(SpeechSynthesisVoice::create(platformVoices[k])); |
return m_voiceList; |
} |