summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/image-decoders/png/PNGImageDecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/image-decoders/png/PNGImageDecoder.h')
-rw-r--r--WebCore/platform/image-decoders/png/PNGImageDecoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/image-decoders/png/PNGImageDecoder.h b/WebCore/platform/image-decoders/png/PNGImageDecoder.h
index 3f0602c..287a794 100644
--- a/WebCore/platform/image-decoders/png/PNGImageDecoder.h
+++ b/WebCore/platform/image-decoders/png/PNGImageDecoder.h
@@ -57,7 +57,8 @@ namespace WebCore {
private:
// Decodes the image. If |onlySize| is true, stops decoding after
- // calculating the image size.
+ // calculating the image size. If decoding fails but there is no more
+ // data coming, sets the "decode failure" flag.
void decode(bool onlySize);
OwnPtr<PNGImageReader> m_reader;