129980 - crash right clicking while loading page, r=peterl, sr=ben
git-svn-id: svn://10.0.0.236/trunk@121138 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a48ee21a66
commit
d7e002caf4
@ -321,7 +321,8 @@ XULPopupListenerImpl::FireFocusOnTargetContent(nsIDOMNode* aTargetNode)
|
||||
nsCOMPtr<nsIContent> content = do_QueryInterface(aTargetNode);
|
||||
nsIFrame* targetFrame;
|
||||
shell->GetPrimaryFrameFor(content, &targetFrame);
|
||||
|
||||
if (!targetFrame) return NS_ERROR_FAILURE;
|
||||
|
||||
PRBool suppressBlur = PR_FALSE;
|
||||
const nsStyleUserInterface* ui;
|
||||
targetFrame->GetStyleData(eStyleStruct_UserInterface, ((const nsStyleStruct*&)ui));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user