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

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

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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/DocumentWebSocketChannel.cpp
diff --git a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp
index 95c0ded764028caec622a5dee76bd01b8675ae98..c37df640d024e168b65677827a3d06df3a569ed9 100644
--- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp
+++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp
@@ -131,7 +131,7 @@ DocumentWebSocketChannel::DocumentWebSocketChannel(
WebSocketChannelClient* client,
std::unique_ptr<SourceLocation> location,
WebSocketHandle* handle)
- : m_handle(wrapUnique(handle ? handle : new WebSocketHandleImpl())),
+ : m_handle(WTF::wrapUnique(handle ? handle : new WebSocketHandleImpl())),
m_client(client),
m_identifier(createUniqueIdentifier()),
m_document(document),
@@ -568,7 +568,8 @@ void DocumentWebSocketChannel::didReceiveData(WebSocketHandle* handle,
m_client->didReceiveTextMessage(message);
}
} else {
- std::unique_ptr<Vector<char>> binaryData = wrapUnique(new Vector<char>);
+ std::unique_ptr<Vector<char>> binaryData =
+ WTF::wrapUnique(new Vector<char>);
binaryData->swap(m_receivingMessageData);
m_client->didReceiveBinaryMessage(std::move(binaryData));
}

Powered by Google App Engine
This is Rietveld 408576698