Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(669)

Unified Diff: third_party/WebKit/Source/platform/exported/WebSpeechSynthesizerClientImpl.cpp

Issue 1617383003: Move PlatformSpeechSynthesisVoice off the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix oilpan compilation Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/exported/WebSpeechSynthesizerClientImpl.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebSpeechSynthesizerClientImpl.cpp b/third_party/WebKit/Source/platform/exported/WebSpeechSynthesizerClientImpl.cpp
index fb4fe528797bb90ad180fa411ef2341cd48879eb..7101b19c6010eee3a5fbd8fef31d3b25767bd730 100644
--- a/third_party/WebKit/Source/platform/exported/WebSpeechSynthesizerClientImpl.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebSpeechSynthesizerClientImpl.cpp
@@ -41,7 +41,7 @@ WebSpeechSynthesizerClientImpl::~WebSpeechSynthesizerClientImpl()
void WebSpeechSynthesizerClientImpl::setVoiceList(const WebVector<WebSpeechSynthesisVoice>& voices)
{
- HeapVector<Member<PlatformSpeechSynthesisVoice>> outVoices;
+ Vector<RefPtr<PlatformSpeechSynthesisVoice>> outVoices;
for (size_t i = 0; i < voices.size(); i++)
outVoices.append(voices[i]);
m_synthesizer->setVoiceList(outVoices);

Powered by Google App Engine
This is Rietveld 408576698