Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsBrowserBoxObject.cpp File Reference
#include "nsCOMPtr.h"
#include "nsIBrowserBoxObject.h"
#include "nsBoxObject.h"
#include "nsIDocShell.h"
#include "nsIDocument.h"
#include "nsXPIDLString.h"

Go to the source code of this file.

Classes

class  nsBrowserBoxObject

Functions

nsresult NS_NewBrowserBoxObject (nsIBoxObject **aResult)

Function Documentation

Definition at line 96 of file nsBrowserBoxObject.cpp.

{
  *aResult = new nsBrowserBoxObject;
  if (!*aResult)
    return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(*aResult);
  return NS_OK;
}

Here is the call graph for this function: