| Index: Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.h
|
| diff --git a/Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.h b/Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.h
|
| index 468ff14064e471a1ce160ea624de28bac88ffeed..fd24561f8a7e00a975d1c6ae7922339083a80192 100644
|
| --- a/Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.h
|
| +++ b/Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.h
|
| @@ -48,19 +48,12 @@ namespace WebCore {
|
| // ImageDecoder
|
| virtual String filenameExtension() const { return "jpg"; }
|
| virtual bool isSizeAvailable();
|
| - virtual bool setSize(unsigned width, unsigned height);
|
| virtual ImageFrame* frameBufferAtIndex(size_t index);
|
| // CAUTION: setFailed() deletes |m_reader|. Be careful to avoid
|
| // accessing deleted memory, especially when calling this from inside
|
| // JPEGImageReader!
|
| virtual bool setFailed();
|
|
|
| - bool willDownSample()
|
| - {
|
| - ASSERT(ImageDecoder::isSizeAvailable());
|
| - return m_scaled;
|
| - }
|
| -
|
| bool outputScanlines();
|
| void jpegComplete();
|
|
|
| @@ -75,9 +68,6 @@ namespace WebCore {
|
| template <J_COLOR_SPACE colorSpace>
|
| bool outputScanlines(ImageFrame& buffer);
|
|
|
| - template <J_COLOR_SPACE colorSpace, bool isScaled>
|
| - bool outputScanlines(ImageFrame& buffer);
|
| -
|
| OwnPtr<JPEGImageReader> m_reader;
|
| };
|
|
|
|
|