diff --git a/mozilla/widget/src/cocoa/nsMenuX.cpp b/mozilla/widget/src/cocoa/nsMenuX.cpp index 3389de7a379..32f9b0b2186 100644 --- a/mozilla/widget/src/cocoa/nsMenuX.cpp +++ b/mozilla/widget/src/cocoa/nsMenuX.cpp @@ -1067,7 +1067,7 @@ nsMenuX::OnCreated() return PR_FALSE; } nsCOMPtr presContext; - MenuHelpersX::DocShellToPresContext(DocShell, getter_AddRefs(presContext) ); + MenuHelpersX::DocShellToPresContext(docShell, getter_AddRefs(presContext) ); if ( presContext ) { nsresult rv = NS_OK; nsIContent* dispatchTo = popupContent ? popupContent : mMenuContent;