Bug 96543 - Make nsWebBrowserFind default to searching in all frames. r=valeski/sr=sfraser

This commit is contained in:
ccarlen%netscape.com 2001-09-26 14:07:35 +00:00
parent f90b35f264
commit 0041b4581a

View File

@ -5998,10 +5998,7 @@ NS_IMETHODIMP nsDocShell::EnsureFind()
nsCOMPtr<nsIDOMWindowInternal> focussedWindow;
focusController->GetFocusedWindow(getter_AddRefs(focussedWindow));
if (focussedWindow)
{
rootWindow = focussedWindow; // constrain to the focussed window.
windowToSearch = focussedWindow;
}
}
nsCOMPtr<nsIWebBrowserFindInFrames> findInFrames = do_QueryInterface(mFind);