rv = gRDFService->GetLiteral(titleString.get(), getter_AddRefs(name));
rv = gRDFService->GetLiteral(aTitle, getter_AddRefs(name));
nsGlobalHistory::SetPageTitle(nsIURI *aURI, const nsAString& aTitle){  nsresult rv;  NS_ENSURE_ARG_POINTER(aURI);  const nsAFlatString& titleString = PromiseFlatString(aTitle);  // skip about: URIs to avoid reading in the db (about:blank, especially)  PRBool isAbout;  rv = aURI->SchemeIs("about", &isAbout);  NS_ENSURE_SUCCESS(rv, rv);  if (isAbout) return NS_OK;  NS_ENSURE_SUCCESS(OpenDB(), NS_ERROR_FAILURE);    nsCAutoString URISpec;  rv = aURI->GetSpec(URISpec);  NS_ENSURE_SUCCESS(rv, rv);  nsCOMPtr<nsIMdbRow> row;  rv = FindRow(kToken_URLColumn, URISpec.get(), getter_AddRefs(row));  // if the row doesn't exist, we silently succeed  if (rv == NS_ERROR_NOT_AVAILABLE) return NS_OK;  NS_ENSURE_SUCCESS(rv, rv);  // Get the old title so we can notify observers  nsAutoString oldtitle;  rv = GetRowValue(row, kToken_NameColumn, oldtitle);  if (NS_FAILED(rv)) return rv;  nsCOMPtr<nsIRDFLiteral> oldname;  if (!oldtitle.IsEmpty()) {    rv = gRDFService->GetLiteral(oldtitle.get(), getter_AddRefs(oldname));    if (NS_FAILED(rv)) return rv;  }  SetRowValue(row, kToken_NameColumn, titleString.get());  // ...and update observers  nsCOMPtr<nsIRDFResource> url;  rv = gRDFService->GetResource(URISpec, getter_AddRefs(url));  if (NS_FAILED(rv)) return rv;  nsCOMPtr<nsIRDFLiteral> name;  rv = gRDFService->GetLiteral(titleString.get(), getter_AddRefs(name));  if (NS_FAILED(rv)) return rv;  if (oldname) {    rv = NotifyChange(url, kNC_Name, oldname, name);  }  else {    rv = NotifyAssert(url, kNC_Name, name);  }  return rv;}