Bug 378776, windows bustage
git-svn-id: svn://10.0.0.236/trunk@226819 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4fcfcb5ee1
commit
1156659f71
@ -928,7 +928,7 @@ nsEventStateManager::PreHandleEvent(nsPresContext* aPresContext,
|
||||
// in the Ender widget case.
|
||||
nsCOMPtr<nsIDocument> doc = gLastFocusedContent->GetDocument();
|
||||
if (doc) {
|
||||
nsIPresShell *shell = doc->GetShellAt(0);
|
||||
nsIPresShell *shell = doc->GetPrimaryShell();
|
||||
if (shell) {
|
||||
nsCOMPtr<nsPresContext> oldPresContext =
|
||||
shell->GetPresContext();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user