зеркало из https://github.com/mozilla/gecko-dev.git
Use revised image loading api
This commit is contained in:
Родитель
a9cf2251b3
Коммит
fa95252534
|
@ -369,7 +369,7 @@ nsFrame::DeleteFrame(nsIPresContext& aPresContext)
|
|||
|
||||
//XXX Why is this done in nsFrame instead of some frame class
|
||||
// that actually loads images?
|
||||
aPresContext.StopLoadImage(this);
|
||||
aPresContext.StopAllLoadImagesFor(this);
|
||||
|
||||
//Set to prevent event dispatch during destruct
|
||||
if (nsnull != mView) {
|
||||
|
|
|
@ -369,7 +369,7 @@ nsFrame::DeleteFrame(nsIPresContext& aPresContext)
|
|||
|
||||
//XXX Why is this done in nsFrame instead of some frame class
|
||||
// that actually loads images?
|
||||
aPresContext.StopLoadImage(this);
|
||||
aPresContext.StopAllLoadImagesFor(this);
|
||||
|
||||
//Set to prevent event dispatch during destruct
|
||||
if (nsnull != mView) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче