diff options
Diffstat (limited to 'WebCore/loader/CachedImage.cpp')
-rw-r--r-- | WebCore/loader/CachedImage.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/loader/CachedImage.cpp b/WebCore/loader/CachedImage.cpp index 5e06eb4..eac02dc 100644 --- a/WebCore/loader/CachedImage.cpp +++ b/WebCore/loader/CachedImage.cpp @@ -53,6 +53,7 @@ CachedImage::CachedImage(const String& url) : CachedResource(url, ImageResource) , m_image(0) , m_decodedDataDeletionTimer(this, &CachedImage::decodedDataDeletionTimerFired) + , m_httpStatusCodeErrorOccurred(false) { m_status = Unknown; } @@ -61,6 +62,7 @@ CachedImage::CachedImage(Image* image) : CachedResource(String(), ImageResource) , m_image(image) , m_decodedDataDeletionTimer(this, &CachedImage::decodedDataDeletionTimerFired) + , m_httpStatusCodeErrorOccurred(false) { m_status = Cached; m_loading = false; @@ -312,6 +314,7 @@ void CachedImage::error() { clear(); m_errorOccurred = true; + m_data.clear(); notifyObservers(); m_loading = false; checkNotify(); |