summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.h')
-rw-r--r--chromium/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.h b/chromium/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.h
index 4437634f9a9..d3761accedb 100644
--- a/chromium/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.h
+++ b/chromium/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.h
@@ -42,13 +42,14 @@ public:
virtual ~PNGImageDecoder();
// ImageDecoder
- virtual String filenameExtension() const { return "png"; }
- virtual bool isSizeAvailable();
- virtual ImageFrame* frameBufferAtIndex(size_t);
+ virtual String filenameExtension() const OVERRIDE { return "png"; }
+ virtual bool isSizeAvailable() OVERRIDE;
+ virtual bool hasColorProfile() const OVERRIDE { return m_hasColorProfile; }
+ virtual ImageFrame* frameBufferAtIndex(size_t) OVERRIDE;
// CAUTION: setFailed() deletes |m_reader|. Be careful to avoid
// accessing deleted memory, especially when calling this from inside
// PNGImageReader!
- virtual bool setFailed();
+ virtual bool setFailed() OVERRIDE;
// Callbacks from libpng
void headerAvailable();
@@ -68,6 +69,7 @@ private:
OwnPtr<PNGImageReader> m_reader;
bool m_doNothingOnFailure;
+ bool m_hasColorProfile;
};
} // namespace WebCore