Fixes crash on start up of mail news
git-svn-id: svn://10.0.0.236/trunk@44162 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -4533,7 +4533,7 @@ nsCSSFrameConstructor::GetFrameFor(nsIPresShell* aPresShell,
|
||||
nsIComboboxControlFrame * comboboxFrame;
|
||||
res = frame->QueryInterface(nsCOMTypeInfo<nsIComboboxControlFrame>::GetIID(),
|
||||
(void**)&comboboxFrame);
|
||||
if (comboboxFrame) {
|
||||
if (NS_SUCCEEDED(res) && comboboxFrame) {
|
||||
nsIFrame * listFrame;
|
||||
comboboxFrame->GetDropDown(&listFrame);
|
||||
if (nsnull != listFrame) {
|
||||
|
||||
@@ -4533,7 +4533,7 @@ nsCSSFrameConstructor::GetFrameFor(nsIPresShell* aPresShell,
|
||||
nsIComboboxControlFrame * comboboxFrame;
|
||||
res = frame->QueryInterface(nsCOMTypeInfo<nsIComboboxControlFrame>::GetIID(),
|
||||
(void**)&comboboxFrame);
|
||||
if (comboboxFrame) {
|
||||
if (NS_SUCCEEDED(res) && comboboxFrame) {
|
||||
nsIFrame * listFrame;
|
||||
comboboxFrame->GetDropDown(&listFrame);
|
||||
if (nsnull != listFrame) {
|
||||
|
||||
Reference in New Issue
Block a user