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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.cpp

Issue 2470233009: WTF/std normalization: replace WTF::Vector::first() with ::front() (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/bmp/BMPImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.cpp
index ad39b9977d50c72fcbd39637165fd7e1bb19126f..8c80ea45ebf8e6cb6fd4656afe28df50c576c077 100644
--- a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.cpp
@@ -67,7 +67,7 @@ void BMPImageDecoder::decode(bool onlySize) {
// If we're done decoding the image, we don't need the BMPImageReader
// anymore. (If we failed, |m_reader| has already been cleared.)
else if (!m_frameBufferCache.isEmpty() &&
- (m_frameBufferCache.first().getStatus() ==
+ (m_frameBufferCache.front().getStatus() ==
ImageFrame::FrameComplete))
m_reader.reset();
}
@@ -84,7 +84,7 @@ bool BMPImageDecoder::decodeHelper(bool onlySize) {
}
if (!m_frameBufferCache.isEmpty())
- m_reader->setBuffer(&m_frameBufferCache.first());
+ m_reader->setBuffer(&m_frameBufferCache.front());
return m_reader->decodeBMP(onlySize);
}

Powered by Google App Engine
This is Rietveld 408576698