| Index: third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.cpp
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.cpp
|
| index 10ccb5d41d21128766e0e79a222a79d358d1ad17..4ccfae20bdbce4fd1bd55b3fc3da53d62b309af5 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.cpp
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.cpp
|
| @@ -281,7 +281,7 @@ bool ICOImageDecoder::processDirectoryEntries() {
|
| std::sort(m_dirEntries.begin(), m_dirEntries.end(), compareEntries);
|
|
|
| // The image size is the size of the largest entry.
|
| - const IconDirectoryEntry& dirEntry = m_dirEntries.first();
|
| + const IconDirectoryEntry& dirEntry = m_dirEntries.front();
|
| // Technically, this next call shouldn't be able to fail, since the width
|
| // and height here are each <= 256, and |m_frameSize| is empty.
|
| return setSize(dirEntry.m_size.width(), dirEntry.m_size.height());
|
|
|