зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1278505 - Remove unneeded NS_NOTREACHED from DeallocPPrintProgressDialogChild(). r=mconley
MozReview-Commit-ID: 7WvZM390h8W --HG-- extra : transplant_source : %7B%C6%26%18%C8i%20U%165%A9%90%F2%13%7B%16%AC%3D4%8A
This commit is contained in:
Родитель
1130b1827c
Коммит
a7d35e9f6b
|
@ -226,11 +226,9 @@ nsPrintingProxy::AllocPPrintProgressDialogChild()
|
||||||
bool
|
bool
|
||||||
nsPrintingProxy::DeallocPPrintProgressDialogChild(PPrintProgressDialogChild* aActor)
|
nsPrintingProxy::DeallocPPrintProgressDialogChild(PPrintProgressDialogChild* aActor)
|
||||||
{
|
{
|
||||||
// The parent process will never initiate the PPrintProgressDialog
|
// The PrintProgressDialogChild implements refcounting, and
|
||||||
// protocol connection, so no need to provide an deallocator here.
|
// will take itself out.
|
||||||
NS_NOTREACHED("Deallocator for PPrintProgressDialogChild should not be "
|
return true;
|
||||||
"called on nsPrintingProxy.");
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PPrintSettingsDialogChild*
|
PPrintSettingsDialogChild*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче