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

Unified Diff: third_party/WebKit/Source/core/input/PointerEventManager.cpp

Issue 2752593003: Migrate WTF::Deque::first() to ::front() (Closed)
Patch Set: one more platform specific reference 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/core/input/PointerEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/PointerEventManager.cpp b/third_party/WebKit/Source/core/input/PointerEventManager.cpp
index 48f30e17da83593d681ceb12c993948ac37f42d8..61a5f01cdb83edccb0ac205f84e4d1482f67325a 100644
--- a/third_party/WebKit/Source/core/input/PointerEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.cpp
@@ -712,7 +712,7 @@ bool PointerEventManager::primaryPointerdownCanceled(
// 2^32-1 (>4.2 billion): even with a generous 100 unique ids per touch
// sequence & one sequence per 10 second, it takes 13+ years to wrap back.
while (!m_touchIdsForCanceledPointerdowns.isEmpty()) {
- uint32_t firstId = m_touchIdsForCanceledPointerdowns.first();
+ uint32_t firstId = m_touchIdsForCanceledPointerdowns.front();
if (firstId > uniqueTouchEventId)
return false;
m_touchIdsForCanceledPointerdowns.takeFirst();

Powered by Google App Engine
This is Rietveld 408576698