Backing out one line from the previous checkin in order to fix #24344 ("Crash when displaying a list box").

git-svn-id: svn://10.0.0.236/trunk@58240 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pierre%netscape.com
2000-01-19 12:27:40 +00:00
parent 422ddc7af8
commit 7171b0a1ac
2 changed files with 2 additions and 2 deletions

View File

@@ -1427,7 +1427,7 @@ nsListControlFrame::SetContentSelected(PRInt32 aIndex, PRBool aSelected)
if (aSelected) {
DisplaySelected(content);
// Now that it is selected scroll to it
nsCOMPtr<nsIContent> content(do_QueryInterface(content));
// nsCOMPtr<nsIContent> content(do_QueryInterface(content));
if (content) {
ScrollToFrame(content);
}