Bug 1309804 - Part 3. Fix trailer space.
MozReview-Commit-ID: FNR08ApEG10
--- a/layout/base/nsDisplayListInvalidation.h
+++ b/layout/base/nsDisplayListInvalidation.h
@@ -34,26 +34,26 @@ struct Color;
* It is used to retain information about display items so they
* can be compared against new display items in the next paint.
*/
class nsDisplayItemGeometry
{
public:
nsDisplayItemGeometry(nsDisplayItem* aItem, nsDisplayListBuilder* aBuilder);
virtual ~nsDisplayItemGeometry();
-
+
/**
* Compute the area required to be invalidated if this
* display item is removed.
*/
const nsRect& ComputeInvalidationRegion() { return mBounds; }
-
+
/**
* Shifts all retained areas of the nsDisplayItemGeometry by the given offset.
- *
+ *
* This is used to compensate for scrolling, since the destination buffer
* can scroll without requiring a full repaint.
*
* @param aOffset Offset to shift by.
*/
virtual void MoveBy(const nsPoint& aOffset)
{
mBounds.MoveBy(aOffset);
@@ -79,19 +79,19 @@ public:
virtual void MoveBy(const nsPoint& aOffset) override;
nsRect mBorderRect;
};
bool ShouldSyncDecodeImages(nsDisplayListBuilder* aBuilder);
/**
- * nsImageGeometryMixin is a mixin for geometry items that draw images. Geometry
- * items that include this mixin can track drawing results and use that
- * information to inform invalidation decisions.
+ * nsImageGeometryMixin is a mixin for geometry items that draw images.
+ * Geometry items that include this mixin can track drawing results and use
+ * that information to inform invalidation decisions.
*
* This mixin uses CRTP; its template parameter should be the type of the class
* that is inheriting from it. See nsDisplayItemGenericImageGeometry for an
* example.
*/
template <typename T>
class nsImageGeometryMixin
{
@@ -213,17 +213,17 @@ public:
nsRect mPositioningArea;
bool mWindowIsActive;
};
class nsDisplayBoxShadowInnerGeometry : public nsDisplayItemGeometry
{
public:
nsDisplayBoxShadowInnerGeometry(nsDisplayItem* aItem, nsDisplayListBuilder* aBuilder);
-
+
virtual void MoveBy(const nsPoint& aOffset) override;
nsRect mPaddingRect;
};
class nsDisplayBoxShadowOuterGeometry : public nsDisplayItemGenericGeometry
{
public: