Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)

MozReview-Commit-ID: DKR6ROiHRS7
This commit is contained in:
Bill McCloskey
2017-06-12 12:34:10 -07:00
parent e3dc1e38a4
commit ce42826bdf
624 changed files with 6328 additions and 3555 deletions

View File

@@ -1267,7 +1267,8 @@ PluginModuleChromeParent::RetainPluginRef()
// deadlocks when we are called from
// PluginHangUIParent::RecvUserResponse().
Unused << NS_DispatchToMainThread(
NewNonOwningRunnableMethod(mPlugin, &nsNPAPIPlugin::AddRef));
NewNonOwningRunnableMethod("nsNPAPIPlugin::AddRef",
mPlugin, &nsNPAPIPlugin::AddRef));
}
}
@@ -1283,7 +1284,8 @@ PluginModuleChromeParent::ReleasePluginRef()
} else {
// Async release the reference to mPlugin.
Unused << NS_DispatchToMainThread(
NewNonOwningRunnableMethod(mPlugin, &nsNPAPIPlugin::Release));
NewNonOwningRunnableMethod("nsNPAPIPlugin::Release",
mPlugin, &nsNPAPIPlugin::Release));
}
}