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

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

Issue 2749753002: Migrate WTF::Deque::removeFirst() to ::pop_front() (Closed)
Patch Set: Created 3 years, 9 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: 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 99a715d8d79d072c81e6b60cac2161685237484d..82f47cddb1c28ae069d8876779e2ed7fbce044a6 100644
--- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp
+++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp
@@ -388,7 +388,7 @@ void DocumentWebSocketChannel::sendInternal(
*consumedBufferedAmount += size;
if (final) {
- m_messages.removeFirst();
+ m_messages.pop_front();
m_sentSizeOfTopMessage = 0;
}
}
@@ -430,7 +430,7 @@ void DocumentWebSocketChannel::processSendQueue() {
DCHECK_EQ(m_messages.size(), 1u);
DCHECK_EQ(m_sentSizeOfTopMessage, 0u);
m_handle->close(message->code, message->reason);
- m_messages.removeFirst();
+ m_messages.pop_front();
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698