зеркало из https://github.com/mozilla/gecko-dev.git
Bug 791731: Don't immediately discard image data in UnbindFromTree, instead rely on the discard timer. r=jlebar
--HG-- extra : rebase_source : 8e702197acfbc76a87521da06e3dcc334c6e2a63
This commit is contained in:
Родитель
3f6aabd191
Коммит
9bea43a806
|
@ -1183,9 +1183,9 @@ nsImageLoadingContent::UnbindFromTree(bool aDeep, bool aNullParent)
|
|||
pusher.PushNull();
|
||||
|
||||
if (mCurrentRequestFlags & REQUEST_SHOULD_BE_TRACKED)
|
||||
doc->RemoveImage(mCurrentRequest, nsIDocument::REQUEST_DISCARD);
|
||||
doc->RemoveImage(mCurrentRequest);
|
||||
if (mPendingRequestFlags & REQUEST_SHOULD_BE_TRACKED)
|
||||
doc->RemoveImage(mPendingRequest, nsIDocument::REQUEST_DISCARD);
|
||||
doc->RemoveImage(mPendingRequest);
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
|
Загрузка…
Ссылка в новой задаче