Bug 795796 - Fix empty transactions. r=cjones
authorMatt Woodrow <mwoodrow@mozilla.com>
Mon, 01 Oct 2012 17:29:02 +1300
changeset 108706 beee809b7ade112df78eef6191791e11edf33d9c
parent 108705 281019df934376a248ff555dd6a328271696edb5
child 108707 74c6fc2c4ad1993020627a800cf5681707cf5222
push id23583
push usermwoodrow@mozilla.com
push dateMon, 01 Oct 2012 04:30:04 +0000
treeherdermozilla-central@beee809b7ade [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs795796
milestone18.0a1
first release with
nightly linux32
beee809b7ade / 18.0a1 / 20121001030603 / files
nightly linux64
beee809b7ade / 18.0a1 / 20121001030603 / files
nightly mac
beee809b7ade / 18.0a1 / 20121001030603 / files
nightly win32
beee809b7ade / 18.0a1 / 20121001030603 / files
nightly win64
beee809b7ade / 18.0a1 / 20121001030603 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 795796 - Fix empty transactions. r=cjones
layout/generic/nsIFrame.h
--- a/layout/generic/nsIFrame.h
+++ b/layout/generic/nsIFrame.h
@@ -2260,19 +2260,20 @@ public:
    * invalid areas in the layer tree and schedule a layer tree
    * composite operation to display the layer tree.
    *
    * @param aFlags PAINT_COMPOSITE_ONLY : No changes have been made
    * that require a layer tree update, so only schedule a layer
    * tree composite.
    */
   enum {
-    PAINT_COMPOSITE_ONLY
+    PAINT_DEFAULT = 0,
+    PAINT_COMPOSITE_ONLY = 1 << 0
   };
-  void SchedulePaint(uint32_t aFlags = 0);
+  void SchedulePaint(uint32_t aFlags = PAINT_DEFAULT);
 
   /**
    * Checks if the layer tree includes a dedicated layer for this 
    * frame/display item key pair, and invalidates at least aDamageRect
    * area within that layer.
    *
    * If no layer is found, calls InvalidateFrame() instead.
    *