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

Unified Diff: Source/modules/websockets/DocumentWebSocketChannel.cpp

Issue 864533002: Fix template angle bracket syntax in modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/modules/websockets/DocumentWebSocketChannel.cpp
diff --git a/Source/modules/websockets/DocumentWebSocketChannel.cpp b/Source/modules/websockets/DocumentWebSocketChannel.cpp
index 458b4f6e771ce1586da64d69a38ec622f9f476f2..c711214337a54dfbbf3bf018eef3310ab7b4cf26 100644
--- a/Source/modules/websockets/DocumentWebSocketChannel.cpp
+++ b/Source/modules/websockets/DocumentWebSocketChannel.cpp
@@ -215,7 +215,7 @@ void DocumentWebSocketChannel::send(const DOMArrayBuffer& buffer, unsigned byteO
sendInternal();
}
-void DocumentWebSocketChannel::send(PassOwnPtr<Vector<char> > data)
+void DocumentWebSocketChannel::send(PassOwnPtr<Vector<char>> data)
{
WTF_LOG(Network, "DocumentWebSocketChannel %p sendVector(%p, %llu)", this, data.get(), static_cast<unsigned long long>(data->size()));
if (m_identifier) {
@@ -280,7 +280,7 @@ DocumentWebSocketChannel::Message::Message(PassRefPtr<DOMArrayBuffer> arrayBuffe
: type(MessageTypeArrayBuffer)
, arrayBuffer(arrayBuffer) { }
-DocumentWebSocketChannel::Message::Message(PassOwnPtr<Vector<char> > vectorData)
+DocumentWebSocketChannel::Message::Message(PassOwnPtr<Vector<char>> vectorData)
: type(MessageTypeVector)
, vectorData(vectorData) { }
@@ -515,7 +515,7 @@ void DocumentWebSocketChannel::didReceiveData(WebSocketHandle* handle, bool fin,
m_client->didReceiveTextMessage(message);
}
} else {
- OwnPtr<Vector<char> > binaryData = adoptPtr(new Vector<char>);
+ OwnPtr<Vector<char>> binaryData = adoptPtr(new Vector<char>);
binaryData->swap(m_receivingMessageData);
m_client->didReceiveBinaryMessage(binaryData.release());
}

Powered by Google App Engine
This is Rietveld 408576698