Bug 212346 nsCSSFrameConstructor.cpp:4182: warning: unused variable `class nsIView * listView'

r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@144725 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2003-07-11 20:07:21 +00:00
parent 421e370456
commit fab52a77e7
2 changed files with 4 additions and 6 deletions

View File

@@ -4179,9 +4179,8 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsIPresShell* aPresShell,
// Set flag so the events go to the listFrame not child frames.
// XXX: We should replace this with a real widget manager similar
// to how the nsFormControlFrame works. Re-directing events is a temporary Kludge.
nsIView *listView = listFrame->GetView();
NS_ASSERTION(listView, "ListFrame's view is nsnull");
//listView->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
NS_ASSERTION(listFrame->GetView(), "ListFrame's view is nsnull");
//listFrame->GetView()->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
// Create display and button frames from the combobox's anonymous content.
// The anonymous content is appended to existing anonymous content for this