Bug 1264529 - If an adoption of <img> is happening with the different source and destination document, we need to force it to reload; r=jdm

Do force update image when adoption happens, then we could remove the workaroud added in bug 1307185 and bug 1317901.

MozReview-Commit-ID: Cbg3EHtyL8f
This commit is contained in:
Edgar Chen
2016-10-13 18:03:10 +08:00
parent 8c16223c13
commit 076736a8b0
3 changed files with 17 additions and 12 deletions

View File

@@ -99,7 +99,7 @@ public:
nsresult CopyInnerTo(Element* aDest, bool aPreallocateChildren);
void MaybeLoadImage();
void MaybeLoadImage(bool aAlwaysForceLoad);
bool IsMap()
{