Make sure to return at the end of a method that returns nsresult, in casecallers are actually checking the return value. Bug 378827, patch by RyanVanderMeulen <ryanvm@gmail.com>, r+sr=bzbarsky

This commit is contained in:
bzbarsky@mit.edu 2007-04-25 19:37:27 -07:00
parent b7a4fc60e7
commit 52ba74f675

View File

@ -1263,6 +1263,8 @@ DocumentViewerImpl::PageHide(PRBool aIsUnload)
// the unload event listeners open any new popups
if (mPresShell)
mPresShell->HidePopups();
return NS_OK;
}
static void