Bug 1307185 - Ensure image loads don't short-circuit if the element changed trees since the last load. r=echen

This commit is contained in:
Josh Matthews
2016-10-04 13:50:33 -04:00
parent 113984eb02
commit 98f135d622
4 changed files with 12 additions and 0 deletions

View File

@@ -649,6 +649,8 @@ HTMLImageElement::UnbindFromTree(bool aDeep, bool aNullParent)
}
}
mLastSelectedSource = nullptr;
nsImageLoadingContent::UnbindFromTree(aDeep, aNullParent);
nsGenericHTMLElement::UnbindFromTree(aDeep, aNullParent);
}