Fix lingering error from changing IPDL methods from returning nsresult to bool

This commit is contained in:
Ben Turner 2009-10-19 13:03:22 -07:00
Родитель 46ad34660e
Коммит 3eca5f643b
1 изменённых файлов: 1 добавлений и 4 удалений

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

@ -501,10 +501,7 @@ XRE_SendTestShellCommand(JSContext* aCx,
nsDependentString command((PRUnichar*)JS_GetStringChars(aCommand), nsDependentString command((PRUnichar*)JS_GetStringChars(aCommand),
JS_GetStringLength(aCommand)); JS_GetStringLength(aCommand));
if (!aCallback) { if (!aCallback) {
if (NS_FAILED(gTestShellParent->SendExecuteCommand(command))) { return gTestShellParent->SendExecuteCommand(command);
return false;
}
return true;
} }
TestShellCommandParent* callback = static_cast<TestShellCommandParent*>( TestShellCommandParent* callback = static_cast<TestShellCommandParent*>(