Fixing mac bustage

git-svn-id: svn://10.0.0.236/trunk@167232 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu 2005-01-03 23:44:56 +00:00
parent ff02c81397
commit 82bb745c82

View File

@ -1067,7 +1067,7 @@ nsMenuX::OnCreated()
return PR_FALSE;
}
nsCOMPtr<nsPresContext> presContext;
MenuHelpersX::DocShellToPresContext(DocShell, getter_AddRefs(presContext) );
MenuHelpersX::DocShellToPresContext(docShell, getter_AddRefs(presContext) );
if ( presContext ) {
nsresult rv = NS_OK;
nsIContent* dispatchTo = popupContent ? popupContent : mMenuContent;