Backout changeset 3d64bdd31c15 (bug 1333333) for causing bug 1367067, bug 1367085 and bug 1367330.

MozReview-Commit-ID: E7Q3LQDXgIA
This commit is contained in:
Henri Sivonen
2017-05-24 11:35:33 +03:00
parent 6150262c2a
commit 62b1a36ca4
8 changed files with 523 additions and 377 deletions

View File

@@ -615,8 +615,9 @@ void
nsHtml5TreeOperation::SvgLoad(nsIContent* aNode)
{
nsCOMPtr<nsIRunnable> event = new nsHtml5SVGLoadDispatcher(aNode);
if (NS_FAILED(aNode->OwnerDoc()->Dispatch(
"nsHtml5SVGLoadDispatcher", TaskCategory::Network, event.forget()))) {
if (NS_FAILED(aNode->OwnerDoc()->Dispatch("nsHtml5SVGLoadDispatcher",
TaskCategory::Other,
event.forget()))) {
NS_WARNING("failed to dispatch svg load dispatcher");
}
}