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

Unified Diff: Source/web/WebSocketImpl.cpp

Issue 843683005: Fix a bit of C++11 in web/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/web/WebSocketImpl.cpp
diff --git a/Source/web/WebSocketImpl.cpp b/Source/web/WebSocketImpl.cpp
index a7aa5b142805f7e382bb5c3ccaf2d97b5a97bce6..3e05aaea588fdb83f405e7d308e9ebcf0f2285e4 100644
--- a/Source/web/WebSocketImpl.cpp
+++ b/Source/web/WebSocketImpl.cpp
@@ -145,7 +145,7 @@ void WebSocketImpl::fail(const WebString& reason)
void WebSocketImpl::disconnect()
{
m_private->disconnect();
- m_client = 0;
+ m_client = nullptr;
}
void WebSocketImpl::didConnect(const String& subprotocol, const String& extensions)
@@ -163,7 +163,7 @@ void WebSocketImpl::didReceiveTextMessage(const String& payload)
m_client->didReceiveMessage(WebString(payload));
}
-void WebSocketImpl::didReceiveBinaryMessage(PassOwnPtr<Vector<char> > payload)
+void WebSocketImpl::didReceiveBinaryMessage(PassOwnPtr<Vector<char>> payload)
{
switch (m_binaryType) {
case BinaryTypeBlob:

Powered by Google App Engine
This is Rietveld 408576698