DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user