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

Unified Diff: third_party/WebKit/Source/modules/websockets/DOMWebSocket.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/websockets/DOMWebSocket.cpp
diff --git a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp
index 6d60ab4fd95318053f4d80b8ca109c31c96a89a5..a62dd874e1cb640e5fba0107318d48db5a8e6546 100644
--- a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp
+++ b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp
@@ -268,7 +268,7 @@ DOMWebSocket* DOMWebSocket::create(ExecutionContext* context,
webSocket->connect(url, protocolsVector, exceptionState);
} else if (protocols.isString()) {
Vector<String> protocolsVector;
- protocolsVector.append(protocols.getAsString());
+ protocolsVector.push_back(protocols.getAsString());
webSocket->connect(url, protocolsVector, exceptionState);
} else {
DCHECK(protocols.isStringSequence());

Powered by Google App Engine
This is Rietveld 408576698