mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 582004 part 1: Make imgStatusTracker::*FrameChanged take a const aDirtyRect argument. r=joe a=blocking
This commit is contained in:
parent
0cf63d8593
commit
e442231dd0
@ -424,7 +424,8 @@ imgStatusTracker::SendDiscard(imgRequestProxy* aProxy)
|
||||
|
||||
/* non-virtual imgIContainerObserver methods */
|
||||
void
|
||||
imgStatusTracker::RecordFrameChanged(imgIContainer* aContainer, nsIntRect* aDirtyRect)
|
||||
imgStatusTracker::RecordFrameChanged(imgIContainer* aContainer,
|
||||
const nsIntRect* aDirtyRect)
|
||||
{
|
||||
// no bookkeeping necessary here - this is only for in-frame updates, which we
|
||||
// don't fire while we're recording
|
||||
@ -432,7 +433,7 @@ imgStatusTracker::RecordFrameChanged(imgIContainer* aContainer, nsIntRect* aDirt
|
||||
|
||||
void
|
||||
imgStatusTracker::SendFrameChanged(imgRequestProxy* aProxy, imgIContainer* aContainer,
|
||||
nsIntRect* aDirtyRect)
|
||||
const nsIntRect* aDirtyRect)
|
||||
{
|
||||
if (!aProxy->NotificationsDeferred())
|
||||
aProxy->FrameChanged(aContainer, aDirtyRect);
|
||||
|
@ -149,8 +149,10 @@ public:
|
||||
void SendDiscard(imgRequestProxy* aProxy);
|
||||
|
||||
/* non-virtual imgIContainerObserver methods */
|
||||
void RecordFrameChanged(imgIContainer* aContainer, nsIntRect* aDirtyRect);
|
||||
void SendFrameChanged(imgRequestProxy* aProxy, imgIContainer* aContainer, nsIntRect* aDirtyRect);
|
||||
void RecordFrameChanged(imgIContainer* aContainer,
|
||||
const nsIntRect* aDirtyRect);
|
||||
void SendFrameChanged(imgRequestProxy* aProxy, imgIContainer* aContainer,
|
||||
const nsIntRect* aDirtyRect);
|
||||
|
||||
/* non-virtual sort-of-nsIRequestObserver methods */
|
||||
void RecordStartRequest();
|
||||
|
Loading…
Reference in New Issue
Block a user