diff --git a/mozilla/layout/generic/nsBlockBandData.h b/mozilla/layout/generic/nsBlockBandData.h index fbce3666dd4..862eed57c5e 100644 --- a/mozilla/layout/generic/nsBlockBandData.h +++ b/mozilla/layout/generic/nsBlockBandData.h @@ -45,6 +45,10 @@ public: return count; } + const nsBandTrapezoid* GetTrapezoid(PRInt32 aIndex) const { + return &mData[aIndex]; + } + // Get the number of floaters that are impacting the current // band. Note that this value is relative to the current translation // in the space manager which means that some floaters may be hidden diff --git a/mozilla/layout/html/base/src/nsBlockBandData.h b/mozilla/layout/html/base/src/nsBlockBandData.h index fbce3666dd4..862eed57c5e 100644 --- a/mozilla/layout/html/base/src/nsBlockBandData.h +++ b/mozilla/layout/html/base/src/nsBlockBandData.h @@ -45,6 +45,10 @@ public: return count; } + const nsBandTrapezoid* GetTrapezoid(PRInt32 aIndex) const { + return &mData[aIndex]; + } + // Get the number of floaters that are impacting the current // band. Note that this value is relative to the current translation // in the space manager which means that some floaters may be hidden