mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 314077 Plug-ins do not receive keybord input when they are focused without mouse patch by <VYV03354@nifty.ne.jp> r=cbiesinger, sr=roc
This commit is contained in:
parent
e7b9e65039
commit
8168be5010
@ -4264,9 +4264,9 @@ nsEventStateManager::SendFocusBlur(nsPresContext* aPresContext,
|
||||
currentFocusFrame = presShell->GetPrimaryFrameFor(mCurrentFocus);
|
||||
if (!currentFocusFrame)
|
||||
currentFocusFrame = mCurrentTarget;
|
||||
nsCOMPtr<nsIObjectFrame> objFrame;
|
||||
nsIObjectFrame* objFrame = nsnull;
|
||||
if (currentFocusFrame)
|
||||
objFrame = do_QueryInterface(currentFocusFrame);
|
||||
CallQueryInterface(currentFocusFrame, &objFrame);
|
||||
if (objFrame) {
|
||||
nsIView* view = currentFocusFrame->GetViewExternal();
|
||||
NS_ASSERTION(view, "Object frames must have views");
|
||||
|
Loading…
Reference in New Issue
Block a user