Backed out changeset 263b1b07c2ac (bug 1325651) for being a possible cause of valgrind leaks a=backout

This commit is contained in:
Wes Kocher 2016-12-30 10:56:57 -08:00
Родитель 706f1d717e
Коммит 1a2e2404c4
2 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -4793,7 +4793,6 @@ ContentParent::RecvPURLClassifierConstructor(PURLClassifierParent* aActor,
{
MOZ_ASSERT(NS_IsMainThread());
MOZ_ASSERT(aActor);
*aSuccess = false;
auto* actor = static_cast<URLClassifierParent*>(aActor);
nsCOMPtr<nsIPrincipal> principal(aPrincipal);

Просмотреть файл

@ -18,7 +18,6 @@ URLClassifierParent::StartClassify(nsIPrincipal* aPrincipal,
bool aUseTrackingProtection,
bool* aSuccess)
{
*aSuccess = false;
nsresult rv = NS_OK;
// Note that in safe mode, the URL classifier service isn't available, so we
// should handle the service not being present gracefully.
@ -35,7 +34,6 @@ URLClassifierParent::StartClassify(nsIPrincipal* aPrincipal,
// without ever calling out callback in both cases.
// This means that code using this in the child process will only get a hit
// on its callback if some classification actually happens.
*aSuccess = false;
ClassificationFailed();
}
return IPC_OK();