Chromium Code Reviews| Index: Source/platform/image-decoders/bmp/BMPImageReader.h |
| diff --git a/Source/platform/image-decoders/bmp/BMPImageReader.h b/Source/platform/image-decoders/bmp/BMPImageReader.h |
| index 82f5074dd3b506da1aea010503af1c1cc5cb628b..50fa23f47093e8ec7a71807bc070e670d9045b5e 100644 |
| --- a/Source/platform/image-decoders/bmp/BMPImageReader.h |
| +++ b/Source/platform/image-decoders/bmp/BMPImageReader.h |
| @@ -263,6 +263,12 @@ private: |
| setRGBA(red, green, blue, alpha); |
| } |
| + // File header size + info header size in bytes. |
| + inline size_t sizeOfHeaderAndInfoHeader() const |
|
Peter Kasting
2015/02/03 23:56:43
Don't add this. Do it inline in the places you ca
changseok
2015/02/04 04:10:32
Done.
|
| + { |
| + return m_headerOffset + m_infoHeader.biSize; |
| + } |
| + |
| // Resets the relevant local variables to start drawing at the left edge |
| // of the "next" row, where "next" is above or below the current row |
| // depending on the value of |m_isTopDown|. |