mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 96543 - Make nsWebBrowserFind default to searching in all frames. r=valeski/sr=sfraser
This commit is contained in:
parent
f90b35f264
commit
0041b4581a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user