Bug 1333333 - Label runnables in the HTML parser. r=billm
MozReview-Commit-ID: 6ItIgFSSR2s
This commit is contained in:
@@ -615,9 +615,8 @@ void
|
||||
nsHtml5TreeOperation::SvgLoad(nsIContent* aNode)
|
||||
{
|
||||
nsCOMPtr<nsIRunnable> event = new nsHtml5SVGLoadDispatcher(aNode);
|
||||
if (NS_FAILED(aNode->OwnerDoc()->Dispatch("nsHtml5SVGLoadDispatcher",
|
||||
TaskCategory::Other,
|
||||
event.forget()))) {
|
||||
if (NS_FAILED(aNode->OwnerDoc()->Dispatch(
|
||||
"nsHtml5SVGLoadDispatcher", TaskCategory::Network, event.forget()))) {
|
||||
NS_WARNING("failed to dispatch svg load dispatcher");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user