Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions  Download package

void nsINode::AddMutationObserver ( nsIMutationObserver aMutationObserver  )  [virtual, inherited]

Adds a mutation observer to be notified when this node, or any of its descendants, are modified. The node will hold a weak reference to the observer, which means that it is the responsibility of the observer to remove itself in case it dies before the node. If an observer is added while observers are being notified, it may also be notified. In general, adding observers while inside a notification is not a good idea.

Definition at line 288 of file nsGenericElement.cpp.

Referenced by nsContentList::nsContentList().

  nsSlots* slots = GetSlots();
  if (slots) {

Generated by  Doxygen 1.6.0   Back to index