зеркало из https://github.com/mozilla/pjs.git
Oops... don't compare against nsnull.
This commit is contained in:
Родитель
559bb8d293
Коммит
3c0104c081
|
@ -1193,7 +1193,7 @@ BookmarkDataSourceImpl::WriteBookmarksContainer(nsIRDFDataSource *ds, nsOutputFi
|
|||
if (NS_FAILED(rv = children->GetNext(getter_AddRefs(iSupports)))) break;
|
||||
|
||||
nsCOMPtr<nsIRDFResource> child = do_QueryInterface(iSupports);
|
||||
if (nsnull == child) break;
|
||||
if (!child) break;
|
||||
|
||||
PRBool isIERoot = PR_FALSE, isContainer = PR_FALSE;
|
||||
if (NS_SUCCEEDED(child->EqualsResource(kNC_IEFavoritesRoot, &isIERoot)))
|
||||
|
|
Загрузка…
Ссылка в новой задаче