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 87044fadd0095b00fc146a8f7afc5bec72b3a09f..bb2de9aab82707d93322cd38b028f0ebbcb54aae 100644 |
--- a/third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp |
+++ b/third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp |
@@ -67,7 +67,7 @@ const HeapVector<Member<SpeechSynthesisVoice>>& SpeechSynthesis::getVoices() |
return m_voiceList; |
// If the voiceList is empty, that's the cue to get the voices from the platform again. |
- const HeapVector<Member<PlatformSpeechSynthesisVoice>>& platformVoices = m_platformSpeechSynthesizer->voiceList(); |
+ const Vector<RefPtr<PlatformSpeechSynthesisVoice>>& platformVoices = m_platformSpeechSynthesizer->voiceList(); |
size_t voiceCount = platformVoices.size(); |
for (size_t k = 0; k < voiceCount; k++) |
m_voiceList.append(SpeechSynthesisVoice::create(platformVoices[k])); |