Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1349,8 +1349,7 @@ nsWebShell::SelectAll(void)
|
||||
if (NS_FAILED(rv) || !doc) return rv;
|
||||
|
||||
|
||||
nsCOMPtr<nsIDOMHTMLDocument> htmldoc;
|
||||
rv = doc->QueryInterface(NS_GET_IID(nsIDOMHTMLDocument), (void**)&htmldoc);
|
||||
nsCOMPtr<nsIDOMHTMLDocument> htmldoc( do_QueryInterface(doc) );
|
||||
if (NS_FAILED(rv) || !htmldoc) return rv;
|
||||
|
||||
nsCOMPtr<nsIDOMHTMLElement>bodyElement;
|
||||
|
||||
Reference in New Issue
Block a user