nsObjectFrame::GetBaseURL(nsIURI* &aURL)
nsObjectFrame::GetBaseURL(nsIURL* &aURL)
nsObjectFrame::GetBaseURL(nsIURI* &aURL){  nsIHTMLContent* htmlContent;  if (NS_SUCCEEDED(mContent->QueryInterface(NS_GET_IID(nsIHTMLContent), (void**)&htmlContent)))   {    htmlContent->GetBaseURL(aURL);    NS_RELEASE(htmlContent);  }  else   {    nsCOMPtr<nsIDocument> doc;    mContent->GetDocument(*getter_AddRefs(doc));    if (doc)      doc->GetBaseURL(aURL);    else      return NS_ERROR_FAILURE;  }  return NS_OK;}