Bug 288117. Fix up function name as dbaron requested.

This commit is contained in:
roc+%cs.cmu.edu 2005-03-31 03:44:38 +00:00
parent f93b035647
commit 5466f1cb0f
4 changed files with 5 additions and 5 deletions

View File

@ -815,7 +815,7 @@ nsContainerFrame::SyncFrameViewProperties(nsPresContext* aPresContext,
PRBool PRBool
nsContainerFrame::FrameNeedsView(nsIFrame* aFrame) nsContainerFrame::FrameNeedsView(nsIFrame* aFrame)
{ {
if (aFrame->NeedsView()) { if (aFrame->TypeAlwaysNeedsView()) {
return PR_TRUE; return PR_TRUE;
} }

View File

@ -231,7 +231,7 @@ public:
return mInner.GetScrolledFrame()->GetView(); return mInner.GetScrolledFrame()->GetView();
} }
virtual PRBool NeedsView() { return PR_TRUE; } virtual PRBool TypeAlwaysNeedsView() { return PR_TRUE; }
virtual PRBool DoesClipChildren() { return PR_TRUE; } virtual PRBool DoesClipChildren() { return PR_TRUE; }
// nsIAnonymousContentCreator // nsIAnonymousContentCreator
@ -379,7 +379,7 @@ public:
return mInner.GetScrolledFrame()->GetView(); return mInner.GetScrolledFrame()->GetView();
} }
virtual PRBool NeedsView() { return PR_TRUE; } virtual PRBool TypeAlwaysNeedsView() { return PR_TRUE; }
virtual PRBool DoesClipChildren() { return PR_TRUE; } virtual PRBool DoesClipChildren() { return PR_TRUE; }
// nsIAnonymousContentCreator // nsIAnonymousContentCreator

View File

@ -715,7 +715,7 @@ public:
/** /**
* Does this frame type always need a view? * Does this frame type always need a view?
*/ */
virtual PRBool NeedsView() { return PR_FALSE; } virtual PRBool TypeAlwaysNeedsView() { return PR_FALSE; }
/** /**
* Event handling of GUI events. * Event handling of GUI events.

View File

@ -86,7 +86,7 @@ public:
virtual nsIAtom* GetType() const; virtual nsIAtom* GetType() const;
virtual PRBool SupportsVisibilityHidden() { return PR_FALSE; } virtual PRBool SupportsVisibilityHidden() { return PR_FALSE; }
virtual PRBool NeedsView() { return PR_TRUE; } virtual PRBool TypeAlwaysNeedsView() { return PR_TRUE; }
#ifdef DEBUG #ifdef DEBUG
NS_IMETHOD GetFrameName(nsAString& aResult) const; NS_IMETHOD GetFrameName(nsAString& aResult) const;