Bug 735898. Part 0: Fix comment.
authorRobert O'Callahan <robert@ocallahan.org>
Wed, 11 Apr 2012 16:48:37 +1200
changeset 94706 c6ac469f724766b06f4194d3031b9afa30fd3fd4
parent 94692 671cc6b005f33e41a6e292e9f017cdc3a051df65
child 94707 ef599d7f3f118fbd61c775a0d803f877d8b6e3fd
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs735898
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 735898. Part 0: Fix comment.
layout/base/nsDisplayList.h
--- a/layout/base/nsDisplayList.h
+++ b/layout/base/nsDisplayList.h
@@ -646,18 +646,19 @@ public:
   virtual nsRect GetBounds(nsDisplayListBuilder* aBuilder, bool* aSnap)
   {
     *aSnap = false;
     return nsRect(ToReferenceFrame(), GetUnderlyingFrame()->GetSize());
   }
   /**
    * @param aSnap set to true if the edges of the rectangles of the opaque
    * region would be snapped to device pixels when drawing
-   * @return a region of the item that is opaque --- every pixel painted
-   * with an opaque color. This is useful for determining when one piece
+   * @return a region of the item that is opaque --- that is, every pixel
+   * that is visible (according to ComputeVisibility) is painted with an opaque
+   * color. This is useful for determining when one piece
    * of content completely obscures another so that we can do occlusion
    * culling.
    */
   virtual nsRegion GetOpaqueRegion(nsDisplayListBuilder* aBuilder,
                                    bool* aSnap,
                                    bool* aForceTransparentSurface)
   {
     *aSnap = false;