if (CanAccept(aSource, aProperty, aTarget)) { if (aProperty == kNC_URL) { nsCOMPtr<nsIRDFResource> newURL; rv = getResourceFromLiteralNode(aTarget, getter_AddRefs(newURL)); if (NS_FAILED(rv)) return rv;  rv = ChangeURL(aSource, newURL); } else if (NS_SUCCEEDED(rv = mInner->Assert(aSource, aProperty, aTarget, aTruthValue))) { UpdateBookmarkLastModifiedDate(aSource); } } return(rv);
if (CanAccept(aSource, aProperty, aTarget)) { rv = mInner->Assert(aSource, aProperty, aTarget, aTruthValue); if (NS_FAILED(rv)) return rv;  UpdateBookmarkLastModifiedDate(aSource);  if (aProperty == kWEB_Schedule) { AnnotateBookmarkSchedule(aSource, PR_TRUE); } }  return rv;
nsBookmarksService::Assert(nsIRDFResource* aSource,			   nsIRDFResource* aProperty,			   nsIRDFNode* aTarget,			   PRBool aTruthValue){	nsresult	rv = NS_RDF_ASSERTION_REJECTED;	if (CanAccept(aSource, aProperty, aTarget))	{		if (aProperty == kNC_URL)		{			nsCOMPtr<nsIRDFResource> newURL;			rv = getResourceFromLiteralNode(aTarget, getter_AddRefs(newURL));			if (NS_FAILED(rv)) return rv;						rv = ChangeURL(aSource, newURL);		}		else if (NS_SUCCEEDED(rv = mInner->Assert(aSource, aProperty, aTarget, aTruthValue)))		{			UpdateBookmarkLastModifiedDate(aSource);		}	}	return(rv);}