mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 288117. Fix up function name as dbaron requested.
This commit is contained in:
parent
f93b035647
commit
5466f1cb0f
@ -815,7 +815,7 @@ nsContainerFrame::SyncFrameViewProperties(nsPresContext* aPresContext,
|
||||
PRBool
|
||||
nsContainerFrame::FrameNeedsView(nsIFrame* aFrame)
|
||||
{
|
||||
if (aFrame->NeedsView()) {
|
||||
if (aFrame->TypeAlwaysNeedsView()) {
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
|
@ -231,7 +231,7 @@ public:
|
||||
return mInner.GetScrolledFrame()->GetView();
|
||||
}
|
||||
|
||||
virtual PRBool NeedsView() { return PR_TRUE; }
|
||||
virtual PRBool TypeAlwaysNeedsView() { return PR_TRUE; }
|
||||
virtual PRBool DoesClipChildren() { return PR_TRUE; }
|
||||
|
||||
// nsIAnonymousContentCreator
|
||||
@ -379,7 +379,7 @@ public:
|
||||
return mInner.GetScrolledFrame()->GetView();
|
||||
}
|
||||
|
||||
virtual PRBool NeedsView() { return PR_TRUE; }
|
||||
virtual PRBool TypeAlwaysNeedsView() { return PR_TRUE; }
|
||||
virtual PRBool DoesClipChildren() { return PR_TRUE; }
|
||||
|
||||
// nsIAnonymousContentCreator
|
||||
|
@ -715,7 +715,7 @@ public:
|
||||
/**
|
||||
* 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.
|
||||
|
@ -86,7 +86,7 @@ public:
|
||||
|
||||
virtual nsIAtom* GetType() const;
|
||||
virtual PRBool SupportsVisibilityHidden() { return PR_FALSE; }
|
||||
virtual PRBool NeedsView() { return PR_TRUE; }
|
||||
virtual PRBool TypeAlwaysNeedsView() { return PR_TRUE; }
|
||||
|
||||
#ifdef DEBUG
|
||||
NS_IMETHOD GetFrameName(nsAString& aResult) const;
|
||||
|
Loading…
Reference in New Issue
Block a user