addref focus controller in deactivate event handler. bug 243112 code=crispin r=bryner,danm-moz
git-svn-id: svn://10.0.0.236/trunk@156488 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -862,7 +862,7 @@ nsEventStateManager::PreHandleEvent(nsIPresContext* aPresContext,
|
||||
// focused sub-window and sub-element for this top-level
|
||||
// window.
|
||||
|
||||
nsIFocusController *focusController =
|
||||
nsCOMPtr<nsIFocusController> focusController =
|
||||
GetFocusControllerForDocument(mDocument);
|
||||
|
||||
if (focusController)
|
||||
|
||||
Reference in New Issue
Block a user