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

Unified Diff: third_party/WebKit/Source/platform/PODArena.h

Issue 2502413004: WTF/std normalization: replace WTF::Vector::last with ::back (Closed)
Patch Set: rebase Created 4 years, 1 month 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/platform/PODArena.h
diff --git a/third_party/WebKit/Source/platform/PODArena.h b/third_party/WebKit/Source/platform/PODArena.h
index 77254695303b8b6e262801431a8c9853fc12595e..14f97e01a75c77032cb88607d5c67f479cc75b1d 100644
--- a/third_party/WebKit/Source/platform/PODArena.h
+++ b/third_party/WebKit/Source/platform/PODArena.h
@@ -131,7 +131,7 @@ class PODArena final : public RefCounted<PODArena> {
m_currentChunkSize = roundedSize;
m_chunks.append(
wrapUnique(new Chunk(m_allocator.get(), m_currentChunkSize)));
- m_current = m_chunks.last().get();
+ m_current = m_chunks.back().get();
ptr = m_current->allocate(roundedSize);
}
return ptr;

Powered by Google App Engine
This is Rietveld 408576698