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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user