diff --git a/webshell/tests/viewer/nsWinMain.cpp b/webshell/tests/viewer/nsWinMain.cpp index 3f1de90c77f..4af7fecf5b3 100644 --- a/webshell/tests/viewer/nsWinMain.cpp +++ b/webshell/tests/viewer/nsWinMain.cpp @@ -108,7 +108,7 @@ nsNativeBrowserWindow::CreateMenuBar(PRInt32 aWidth) nsresult nsNativeBrowserWindow::GetMenuBarHeight(PRInt32 * aHeightOut) { - NS_ASSERTION(nsnull != aHeightOut,"null out param."); + NS_ENSURE_ARG_POINTER(aHeightOut); *aHeightOut = 0;