Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsHTMLURIRefObject.cpp File Reference
#include "nsHTMLURIRefObject.h"
#include "nsAString.h"
#include "nsString.h"
#include "nsIDOMAttr.h"
#include "nsIDOMElement.h"

Go to the source code of this file.


#define MATCHES(tagName, str)   tagName.EqualsIgnoreCase(str)


nsresult NS_NewHTMLURIRefObject (nsIURIRefObject **aResult, nsIDOMNode *aNode)

Define Documentation

#define MATCHES (   tagName,
)    tagName.EqualsIgnoreCase(str)

Definition at line 109 of file nsHTMLURIRefObject.cpp.

Function Documentation

Definition at line 319 of file nsHTMLURIRefObject.cpp.

  nsHTMLURIRefObject* refObject = new nsHTMLURIRefObject();
  if (!refObject) return NS_ERROR_OUT_OF_MEMORY;
  nsresult rv = refObject->SetNode(aNode);
  if (NS_FAILED(rv)) {
    *aResult = 0;
    delete refObject;
    return rv;
  return refObject->QueryInterface(NS_GET_IID(nsIURIRefObject),