nsAutoMonitor(PRMonitor* mon) : nsAutoLockBase((void*)mon, eAutoMonitor), mMonitor(mon), mLockCount(0) { NS_ASSERTION(mMonitor, "null monitor"); if (mMonitor) { PR_EnterMonitor(mMonitor); mLockCount = 1; } }
nsAutoMonitor(void) {}
    nsAutoMonitor(PRMonitor* mon)        : nsAutoLockBase((void*)mon, eAutoMonitor),          mMonitor(mon), mLockCount(0)    {        NS_ASSERTION(mMonitor, "null monitor");        if (mMonitor) {            PR_EnterMonitor(mMonitor);            mLockCount = 1;        }    }