From 206777a27946e8fba3a28c811902cd19ab8e2b5d Mon Sep 17 00:00:00 2001 From: "hwaara%chello.se" Date: Fri, 25 May 2001 00:53:47 +0000 Subject: [PATCH] Fix smoketest blocker. bug 82141. r=saari, sr=hyatt git-svn-id: svn://10.0.0.236/trunk@95887 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsDocShell.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/docshell/base/nsDocShell.cpp b/mozilla/docshell/base/nsDocShell.cpp index 13dee6861db..df29564306d 100644 --- a/mozilla/docshell/base/nsDocShell.cpp +++ b/mozilla/docshell/base/nsDocShell.cpp @@ -3925,9 +3925,11 @@ nsDocShell::SetupNewViewer(nsIContentViewer * aNewViewer) // See the book I wrote above regarding why the focus controller is // being used here. -- hyatt - if (focusController) + if (focusController) { + focusController->SetFocusedElement(nsnull); focusController->SetSuppressFocus(PR_FALSE, "Win32-Only Link Traversal Issue"); + } mContentViewer = aNewViewer;