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

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

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h Created 3 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 09485dd3721a08e700557821702388ea5ac9f032..d6669f29150a6b4f70888f2e6d3a7f9943d62d95 100644
--- a/third_party/WebKit/Source/platform/exported/WebSpeechSynthesizerClientImpl.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebSpeechSynthesizerClientImpl.cpp
@@ -40,7 +40,7 @@ void WebSpeechSynthesizerClientImpl::setVoiceList(
const WebVector<WebSpeechSynthesisVoice>& voices) {
Vector<RefPtr<PlatformSpeechSynthesisVoice>> outVoices;
for (size_t i = 0; i < voices.size(); i++)
- outVoices.append(voices[i]);
+ outVoices.push_back(voices[i]);
m_synthesizer->setVoiceList(outVoices);
m_client->voicesDidChange();
}

Powered by Google App Engine
This is Rietveld 408576698