Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsDOMAttributeMap.cpp File Reference
#include "nsDOMAttributeMap.h"
#include "nsDOMAttribute.h"
#include "nsGenericElement.h"
#include "nsIContent.h"
#include "nsINameSpaceManager.h"
#include "nsDOMError.h"
#include "nsContentUtils.h"
#include "nsNodeInfoManager.h"

Go to the source code of this file.

Functions

PLDHashOperator RemoveMapRef (nsAttrHashKey::KeyType aKey, nsCOMPtr< nsIDOMNode > &aData, void *aUserArg)
 Clear map pointer for attributes.

Function Documentation

PLDHashOperator RemoveMapRef ( nsAttrHashKey::KeyType  aKey,
nsCOMPtr< nsIDOMNode > &  aData,
void aUserArg 
)

Clear map pointer for attributes.

Definition at line 67 of file nsDOMAttributeMap.cpp.

{
  nsCOMPtr<nsIAttribute> attr(do_QueryInterface(aData));
  NS_ASSERTION(attr, "non-nsIAttribute somehow made it into the hashmap?!");
  attr->SetMap(nsnull);

  return PL_DHASH_REMOVE;
}

Here is the call graph for this function:

Here is the caller graph for this function: