mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 211933. Incorrect null check in webbrowserfind code. r=dean_tessman, sr=sfraser
This commit is contained in:
parent
5c5a6660ec
commit
a8ec9ea561
@ -99,7 +99,7 @@ NS_IMETHODIMP nsWebBrowserFind::FindNext(PRBool *outDidFind)
|
||||
NS_ENSURE_TRUE(searchFrame, NS_ERROR_NOT_INITIALIZED);
|
||||
|
||||
nsCOMPtr<nsIDOMWindow> rootFrame = do_QueryReferent(mRootSearchFrame);
|
||||
NS_ENSURE_TRUE(searchFrame, NS_ERROR_NOT_INITIALIZED);
|
||||
NS_ENSURE_TRUE(rootFrame, NS_ERROR_NOT_INITIALIZED);
|
||||
|
||||
// first, if there's a "cmd_findagain" observer around, check to see if it
|
||||
// wants to perform the find again command . If it performs the find again
|
||||
|
Loading…
Reference in New Issue
Block a user