DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,

r+sr=jst
This commit is contained in:
bzbarsky@mit.edu
2003-07-28 21:35:53 +00:00
parent 163a5a2617
commit faebd7a266
38 changed files with 97 additions and 208 deletions

View File

@@ -612,8 +612,7 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
aURI->SchemeIs("data", &isData);
if (isJS || isData) {
nsCOMPtr<nsIDocument> sourceDoc;
aContent->GetDocument(getter_AddRefs(sourceDoc));
nsCOMPtr<nsIDocument> sourceDoc = aContent->GetDocument();
if (!sourceDoc) {
// The source is in a 'zombie' document, or not part of a