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

Unified Diff: third_party/WebKit/Source/modules/webusb/USBInterface.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
« no previous file with comments | « third_party/WebKit/Source/modules/webusb/USBDevice.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webusb/USBInterface.cpp
diff --git a/third_party/WebKit/Source/modules/webusb/USBInterface.cpp b/third_party/WebKit/Source/modules/webusb/USBInterface.cpp
index c5e79340a70a69c97c29d510b6ba9f65b303394d..01dd3d6ba7d806437efdd58759c0a7d113ce344d 100644
--- a/third_party/WebKit/Source/modules/webusb/USBInterface.cpp
+++ b/third_party/WebKit/Source/modules/webusb/USBInterface.cpp
@@ -59,7 +59,7 @@ USBAlternateInterface* USBInterface::alternate() const {
HeapVector<Member<USBAlternateInterface>> USBInterface::alternates() const {
HeapVector<Member<USBAlternateInterface>> alternates;
for (size_t i = 0; i < info().alternates.size(); ++i)
- alternates.append(USBAlternateInterface::create(this, i));
+ alternates.push_back(USBAlternateInterface::create(this, i));
return alternates;
}
« no previous file with comments | « third_party/WebKit/Source/modules/webusb/USBDevice.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698