Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor. Bug 265367, r+sr=dbaron
This commit is contained in:
@@ -78,6 +78,8 @@ public:
|
||||
nsIFrame* aNewFrame);
|
||||
NS_IMETHOD ReflowDirtyChild(nsIPresShell* aPresShell, nsIFrame* aChild);
|
||||
|
||||
virtual PRBool IsLeaf() const;
|
||||
|
||||
#ifdef DEBUG
|
||||
NS_IMETHOD List(nsPresContext* aPresContext, FILE* out, PRInt32 aIndent) const;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user