From 4412580428bab026091f66f6218fa7f991fa53ac Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Fri, 26 Feb 1999 17:36:00 +0000 Subject: [PATCH] BandRect needs to be public to be visible outside the class definition (HPUX bustage) --- layout/base/src/nsSpaceManager.h | 2 ++ layout/generic/nsSpaceManager.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/layout/base/src/nsSpaceManager.h b/layout/base/src/nsSpaceManager.h index 80fc9f77d28..e8f7cd98458 100644 --- a/layout/base/src/nsSpaceManager.h +++ b/layout/base/src/nsSpaceManager.h @@ -65,6 +65,7 @@ protected: FrameInfo(nsIFrame* aFrame, const nsRect& aRect); }; +public: // Doubly linked list of band rects struct BandRect : PRCListStr { nscoord left, top; @@ -128,6 +129,7 @@ protected: void Clear(); }; +protected: nsIFrame* const mFrame; // frame associated with the space manager nscoord mX, mY; // translation from local to global coordinate space BandList mBandList; // header for circular linked list of band rects diff --git a/layout/generic/nsSpaceManager.h b/layout/generic/nsSpaceManager.h index 80fc9f77d28..e8f7cd98458 100644 --- a/layout/generic/nsSpaceManager.h +++ b/layout/generic/nsSpaceManager.h @@ -65,6 +65,7 @@ protected: FrameInfo(nsIFrame* aFrame, const nsRect& aRect); }; +public: // Doubly linked list of band rects struct BandRect : PRCListStr { nscoord left, top; @@ -128,6 +129,7 @@ protected: void Clear(); }; +protected: nsIFrame* const mFrame; // frame associated with the space manager nscoord mX, mY; // translation from local to global coordinate space BandList mBandList; // header for circular linked list of band rects