diff options
Diffstat (limited to 'WebCore/loader/CachedImage.h')
-rw-r--r-- | WebCore/loader/CachedImage.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/WebCore/loader/CachedImage.h b/WebCore/loader/CachedImage.h index 9c3442f..22a3774 100644 --- a/WebCore/loader/CachedImage.h +++ b/WebCore/loader/CachedImage.h @@ -67,7 +67,10 @@ public: virtual void data(PassRefPtr<SharedBuffer> data, bool allDataReceived); virtual void error(); - + + virtual void httpStatusCodeError() { m_httpStatusCodeErrorOccurred = true; } + bool httpStatusCodeErrorOccurred() const { return m_httpStatusCodeErrorOccurred; } + virtual bool schedule() const { return true; } void checkNotify(); @@ -96,6 +99,7 @@ private: RefPtr<Image> m_image; Timer<CachedImage> m_decodedDataDeletionTimer; + bool m_httpStatusCodeErrorOccurred; }; } |