diff options
Diffstat (limited to 'WebCore/loader/CachedImage.h')
-rw-r--r-- | WebCore/loader/CachedImage.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/loader/CachedImage.h b/WebCore/loader/CachedImage.h index f24e2fb..9c3442f 100644 --- a/WebCore/loader/CachedImage.h +++ b/WebCore/loader/CachedImage.h @@ -85,11 +85,13 @@ public: virtual bool shouldPauseAnimation(const Image*); virtual void animationAdvanced(const Image*); + virtual void changedInRect(const Image*, const IntRect&); private: void createImage(); size_t maximumDecodedImageSize(); - void notifyObservers(); + // If not null, changeRect is the changed part of the image. + void notifyObservers(const IntRect* changeRect = 0); void decodedDataDeletionTimerFired(Timer<CachedImage>*); RefPtr<Image> m_image; |