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

Unified Diff: third_party/WebKit/Source/modules/webusb/USBConfiguration.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/webusb/USBConfiguration.cpp
diff --git a/third_party/WebKit/Source/modules/webusb/USBConfiguration.cpp b/third_party/WebKit/Source/modules/webusb/USBConfiguration.cpp
index cb18aecf81b4203fc7e13bb6d17f8b0ec82687ac..4b1f351d8299af501cc182ce680c9e7085db9602 100644
--- a/third_party/WebKit/Source/modules/webusb/USBConfiguration.cpp
+++ b/third_party/WebKit/Source/modules/webusb/USBConfiguration.cpp
@@ -50,7 +50,7 @@ const device::usb::blink::ConfigurationInfo& USBConfiguration::info() const {
HeapVector<Member<USBInterface>> USBConfiguration::interfaces() const {
HeapVector<Member<USBInterface>> interfaces;
for (size_t i = 0; i < info().interfaces.size(); ++i)
- interfaces.append(USBInterface::create(this, i));
+ interfaces.push_back(USBInterface::create(this, i));
return interfaces;
}

Powered by Google App Engine
This is Rietveld 408576698