Bug 1431774 part 6. de-COM the image loading content forceReload API. r=mystor

MozReview-Commit-ID: 4n5BFQcHopU
This commit is contained in:
Boris Zbarsky
2018-01-19 14:19:39 -05:00
parent 49deedef9d
commit a08e3cd0c5
5 changed files with 12 additions and 37 deletions

View File

@@ -495,7 +495,8 @@ HTMLImageElement::AfterMaybeChangeAttr(int32_t aNamespaceID, nsAtom* aName,
// Bug 1076583 - We still use the older synchronous algorithm in
// non-responsive mode. Force a new load of the image with the
// new cross origin policy
ForceReload(aNotify);
IgnoredErrorResult error;
ForceReload(aNotify, error);
}
}
}