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

Unified Diff: third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: 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/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
diff --git a/third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp b/third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
index b009c475ac3d1ef9d77f46b5803b01b096fad980..6fbd40a697a471c8d7fca8842751de2e16bffdb7 100644
--- a/third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
+++ b/third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
@@ -77,13 +77,13 @@ void PlatformSpeechSynthesizerMock::speakNext() {
void PlatformSpeechSynthesizerMock::initializeVoiceList() {
m_voiceList.clear();
- m_voiceList.append(PlatformSpeechSynthesisVoice::create(
+ m_voiceList.push_back(PlatformSpeechSynthesisVoice::create(
String("mock.voice.bruce"), String("bruce"), String("en-US"), true,
true));
- m_voiceList.append(PlatformSpeechSynthesisVoice::create(
+ m_voiceList.push_back(PlatformSpeechSynthesisVoice::create(
String("mock.voice.clark"), String("clark"), String("en-US"), true,
false));
- m_voiceList.append(PlatformSpeechSynthesisVoice::create(
+ m_voiceList.push_back(PlatformSpeechSynthesisVoice::create(
String("mock.voice.logan"), String("logan"), String("fr-CA"), true,
true));
}

Powered by Google App Engine
This is Rietveld 408576698