Public Member Functions

mozAutoDocConditionalContentUpdateBatch Class Reference

Creates an update batch only under certain conditions. More...

#include <mozAutoDocUpdate.h>

Collaboration diagram for mozAutoDocConditionalContentUpdateBatch:

List of all members.

Public Member Functions

 mozAutoDocConditionalContentUpdateBatch (nsIDocument *aDocument, PRBool aNotify)
 ~mozAutoDocConditionalContentUpdateBatch ()

Detailed Description

Creates an update batch only under certain conditions.

Use this rather than mozAutoDocUpdate when you expect inner updates to notify but you don't always want to spec cycles creating a batch. This is needed to avoid having this batch always create a blocker, but then have inner mozAutoDocUpdate call the last EndUpdate before. we remove that blocker. See bug 423269.

Constructor & Destructor Documentation

mozAutoDocConditionalContentUpdateBatch::mozAutoDocConditionalContentUpdateBatch ( nsIDocument *  aDocument,
PRBool  aNotify 
) [inline]
mozAutoDocConditionalContentUpdateBatch::~mozAutoDocConditionalContentUpdateBatch (  )  [inline]

The documentation for this class was generated from the following file: