Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Pierre Phaneuf <pp@ludusdesign.com>
|
||||
*/
|
||||
#include "nsIDOMHTMLTextAreaElement.h"
|
||||
#include "nsIDOMNSHTMLTextAreaElement.h"
|
||||
@@ -182,7 +183,7 @@ nsHTMLTextAreaElement::QueryInterface(REFNSIID aIID, void** aInstancePtr)
|
||||
NS_ADDREF_THIS();
|
||||
return NS_OK;
|
||||
}
|
||||
if (aIID.Equals(nsIDOMNSHTMLTextAreaElement::GetIID())) {
|
||||
if (aIID.Equals(NS_GET_IID(nsIDOMNSHTMLTextAreaElement))) {
|
||||
*aInstancePtr = (void*)(nsIDOMNSHTMLTextAreaElement*) this;
|
||||
NS_ADDREF_THIS();
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user