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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.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/image-decoders/gif/GIFImageReader.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.h b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.h
index d3674a022c8ac0eaeb25ed3289c3ebdba5180bd3..1ef24fa3d24f1dc43a7fc69289c83fa8941a77a7 100644
--- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.h
+++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.h
@@ -310,7 +310,7 @@ class PLATFORM_EXPORT GIFImageReader final {
// after GIFControlExtension but before GIFImageHeader.
// FIXME: This extra complexity is not necessary and we should just report
// m_frames.size().
- return m_frames.last()->isHeaderDefined() ? m_frames.size()
+ return m_frames.back()->isHeaderDefined() ? m_frames.size()
: m_frames.size() - 1;
}
int loopCount() const { return m_loopCount; }

Powered by Google App Engine
This is Rietveld 408576698