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

Unified Diff: third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.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/SpeechRecognitionEvent.cpp
diff --git a/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp b/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp
index e08557a02c1e01bb175416ca41e5b04d0d47061e..143368771802f77eefa5fa625b072ae82d3bafe0 100644
--- a/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp
+++ b/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp
@@ -45,7 +45,7 @@ SpeechRecognitionEvent* SpeechRecognitionEvent::createNoMatch(
SpeechRecognitionResult* result) {
if (result) {
HeapVector<Member<SpeechRecognitionResult>> results;
- results.append(result);
+ results.push_back(result);
return new SpeechRecognitionEvent(
EventTypeNames::nomatch, 0,
SpeechRecognitionResultList::create(results));

Powered by Google App Engine
This is Rietveld 408576698