Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
mozSanitizingSerializer.h File Reference
#include "mozISanitizingSerializer.h"
#include "nsIContentSerializer.h"
#include "nsIHTMLContentSink.h"
#include "nsHTMLTags.h"
#include "nsCOMPtr.h"
#include "nsIParserService.h"
#include "nsIContent.h"
#include "nsIAtom.h"
#include "nsIDocumentEncoder.h"
#include "nsString.h"
#include "nsIParser.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mozSanitizingHTMLSerializer

Functions

nsresult NS_NewSanitizingHTMLSerializer (nsIContentSerializer **aSerializer)

Function Documentation

Definition at line 80 of file mozSanitizingSerializer.cpp.

{
  mozSanitizingHTMLSerializer* it = new mozSanitizingHTMLSerializer();
  if (!it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  NS_ADDREF(it);
  *aSerializer = it;
  return NS_OK;
}

Here is the call graph for this function: