Make sure to return at the end of a method that returns nsresult, in case

callers are actually checking the return value.  Bug 378827, patch by Ryan
VanderMeulen <ryanvm@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@225069 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2007-04-26 02:37:27 +00:00
parent 04e7f5a0a3
commit cdf11094c2

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