Creates an update batch only under certain conditions. More...
#include <mozAutoDocUpdate.h>
Public Member Functions | |
mozAutoDocConditionalContentUpdateBatch (nsIDocument *aDocument, PRBool aNotify) | |
~mozAutoDocConditionalContentUpdateBatch () |
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.
mozAutoDocConditionalContentUpdateBatch::mozAutoDocConditionalContentUpdateBatch | ( | nsIDocument * | aDocument, | |
PRBool | aNotify | |||
) | [inline] |
mozAutoDocConditionalContentUpdateBatch::~mozAutoDocConditionalContentUpdateBatch | ( | ) | [inline] |