Oops... don't compare against nsnull.
git-svn-id: svn://10.0.0.236/trunk@29631 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user