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

Unified Diff: third_party/WebKit/Source/modules/fetch/BytesConsumer.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/fetch/BytesConsumer.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/BytesConsumer.cpp b/third_party/WebKit/Source/modules/fetch/BytesConsumer.cpp
index 1d4adcf85c1f5bdadeb5a070fb64b8d4a3d83c72..ad1511cb6444d4a430f42af5ecaa7145a823982f 100644
--- a/third_party/WebKit/Source/modules/fetch/BytesConsumer.cpp
+++ b/third_party/WebKit/Source/modules/fetch/BytesConsumer.cpp
@@ -172,7 +172,7 @@ class TeeHelper final : public GarbageCollectedFinalized<TeeHelper>,
m_offset += read;
if (chunk->size() == m_offset) {
m_offset = 0;
- m_chunks.removeFirst();
+ m_chunks.pop_front();
}
if (m_chunks.isEmpty() &&
m_tee->getPublicState() == PublicState::Closed) {

Powered by Google App Engine
This is Rietveld 408576698