| 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());
|
|
|