Fix a comment. no bug. r=a a=r
authorTimothy Nikkel <>
Fri, 31 Dec 2010 16:48:47 -0600
changeset 59751 0e609f37f4bc364f2606fcfe01ea9906bce4399d
parent 59750 77143138cfba4416b020ef00fedf6326740a82dd
child 59752 611ffce3603536806f57c0789164b4433c5a695d
push id1
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewersa, r
Fix a comment. no bug. r=a a=r
--- a/layout/base/nsDisplayList.h
+++ b/layout/base/nsDisplayList.h
@@ -624,18 +624,17 @@ public:
    * which may be visible. If the display item opaquely covers an area, it
    * can remove that area from aVisibleRegion before returning.
    * nsDisplayList::ComputeVisibility automatically subtracts the bounds
    * of items that return true from IsOpaque(), and automatically
    * removes items whose bounds do not intersect the visible area,
    * so implementations of nsDisplayItem::ComputeVisibility do not
    * need to do these things.
    * nsDisplayList::ComputeVisibility will already have set mVisibleRect on
-   * this item to the intersection of *aVisibleRegion (unioned with
-   * *aVisibleRegionBeforeMove, if that's non-null) and this item's bounds.
+   * this item to the intersection of *aVisibleRegion and this item's bounds.
    * We rely on that, so this should only be called by
    * nsDisplayList::ComputeVisibility or nsDisplayItem::RecomputeVisibility.
    * @return PR_TRUE if the item is visible, PR_FALSE if no part of the item
    * is visible
   virtual PRBool ComputeVisibility(nsDisplayListBuilder* aBuilder,
                                    nsRegion* aVisibleRegion)