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

Unified Diff: third_party/WebKit/Source/platform/SharedBuffer.cpp

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
« no previous file with comments | « third_party/WebKit/Source/platform/PODArena.h ('k') | third_party/WebKit/Source/platform/blob/BlobData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/SharedBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/SharedBuffer.cpp b/third_party/WebKit/Source/platform/SharedBuffer.cpp
index 3dc854b59dc7cbb14683f0b1f286cf761b1a31df..dd8cc053dc5121cb6606836c56213446463d5b5b 100644
--- a/third_party/WebKit/Source/platform/SharedBuffer.cpp
+++ b/third_party/WebKit/Source/platform/SharedBuffer.cpp
@@ -109,7 +109,7 @@ void SharedBuffer::appendInternal(const char* data, size_t length) {
segment = allocateSegment();
m_segments.append(segment);
} else
- segment = m_segments.last() + positionInSegment;
+ segment = m_segments.back() + positionInSegment;
size_t segmentFreeSpace = kSegmentSize - positionInSegment;
size_t bytesToCopy = std::min(length, segmentFreeSpace);
« no previous file with comments | « third_party/WebKit/Source/platform/PODArena.h ('k') | third_party/WebKit/Source/platform/blob/BlobData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698