mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Bug 612018 followup - Remove the extra document check, r=mats a=cleanup
This commit is contained in:
parent
4cb8a540a7
commit
7f5db0cbfb
@ -1357,8 +1357,7 @@ nsFocusManager::CheckIfFocusable(nsIContent* aContent, PRUint32 aFlags)
|
|||||||
return nsnull;
|
return nsnull;
|
||||||
|
|
||||||
// Make sure that our frames are up to date
|
// Make sure that our frames are up to date
|
||||||
if (doc)
|
doc->FlushPendingNotifications(Flush_Layout);
|
||||||
doc->FlushPendingNotifications(Flush_Layout);
|
|
||||||
|
|
||||||
nsIPresShell *shell = doc->GetShell();
|
nsIPresShell *shell = doc->GetShell();
|
||||||
if (!shell)
|
if (!shell)
|
||||||
|
Loading…
Reference in New Issue
Block a user