ipc/glue: Don't compare pointer to int.

This commit is contained in:
Jacek Caban 2020-11-25 18:35:19 +01:00
parent 25063754f5
commit 0a0753b116

View File

@ -122,7 +122,7 @@ GeckoChildProcessHost::~GeckoChildProcessHost()
MOZ_COUNT_DTOR(GeckoChildProcessHost);
if (mChildProcessHandle > 0) {
if (mChildProcessHandle) {
#if defined(MOZ_WIDGET_COCOA)
SharedMemoryBasic::CleanupForPid(mChildProcessHandle);
#endif