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

Unified Diff: Source/modules/websockets/WorkerWebSocketChannel.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/WorkerWebSocketChannel.cpp
diff --git a/Source/modules/websockets/WorkerWebSocketChannel.cpp b/Source/modules/websockets/WorkerWebSocketChannel.cpp
index 8726fbca826a8c10e4ec595b3d1af960f469e805..ecd5f7b33a0ecd6e8edfa1582185d5528b276bdc 100644
--- a/Source/modules/websockets/WorkerWebSocketChannel.cpp
+++ b/Source/modules/websockets/WorkerWebSocketChannel.cpp
@@ -224,7 +224,7 @@ void Peer::send(const String& message)
m_mainWebSocketChannel->send(message);
}
-void Peer::sendArrayBuffer(PassOwnPtr<Vector<char> > data)
+void Peer::sendArrayBuffer(PassOwnPtr<Vector<char>> data)
{
ASSERT(isMainThread());
if (m_mainWebSocketChannel)
@@ -293,14 +293,14 @@ void Peer::didReceiveTextMessage(const String& payload)
m_loaderProxy.postTaskToWorkerGlobalScope(createCrossThreadTask(&workerGlobalScopeDidReceiveTextMessage, m_bridge, payload));
}
-static void workerGlobalScopeDidReceiveBinaryMessage(ExecutionContext* context, Bridge* bridge, PassOwnPtr<Vector<char> > payload)
+static void workerGlobalScopeDidReceiveBinaryMessage(ExecutionContext* context, Bridge* bridge, PassOwnPtr<Vector<char>> payload)
{
ASSERT_UNUSED(context, context->isWorkerGlobalScope());
if (bridge->client())
bridge->client()->didReceiveBinaryMessage(payload);
}
-void Peer::didReceiveBinaryMessage(PassOwnPtr<Vector<char> > payload)
+void Peer::didReceiveBinaryMessage(PassOwnPtr<Vector<char>> payload)
{
ASSERT(isMainThread());
m_loaderProxy.postTaskToWorkerGlobalScope(createCrossThreadTask(&workerGlobalScopeDidReceiveBinaryMessage, m_bridge, payload));
@@ -413,7 +413,7 @@ void Bridge::send(const DOMArrayBuffer& binaryData, unsigned byteOffset, unsigne
{
ASSERT(m_peer);
// ArrayBuffer isn't thread-safe, hence the content of ArrayBuffer is copied into Vector<char>.
- OwnPtr<Vector<char> > data = adoptPtr(new Vector<char>(byteLength));
+ OwnPtr<Vector<char>> data = adoptPtr(new Vector<char>(byteLength));
if (binaryData.byteLength())
memcpy(data->data(), static_cast<const char*>(binaryData.data()) + byteOffset, byteLength);
« Source/modules/webmidi/MIDIInputMap.cpp ('K') | « Source/modules/websockets/WorkerWebSocketChannel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698