Bug 1348665 part 3 - Remove the aFlags param to SyncFrameViewProperties because all callers pass zero. r=tnikkel
MozReview-Commit-ID: 7zohl3bOsO1
This commit is contained in:
@@ -1021,8 +1021,7 @@ void
|
||||
nsIFrame::SyncFrameViewProperties(nsPresContext* aPresContext,
|
||||
nsIFrame* aFrame,
|
||||
nsStyleContext* aStyleContext,
|
||||
nsView* aView,
|
||||
uint32_t aFlags)
|
||||
nsView* aView)
|
||||
{
|
||||
NS_ASSERTION(!aStyleContext || aFrame->StyleContext() == aStyleContext,
|
||||
"Wrong style context for frame?");
|
||||
@@ -1038,8 +1037,7 @@ nsIFrame::SyncFrameViewProperties(nsPresContext* aPresContext,
|
||||
}
|
||||
|
||||
// Make sure visibility is correct. This only affects nsSubdocumentFrame.
|
||||
if (0 == (aFlags & NS_FRAME_NO_VISIBILITY) &&
|
||||
!aFrame->SupportsVisibilityHidden()) {
|
||||
if (!aFrame->SupportsVisibilityHidden()) {
|
||||
// See if the view should be hidden or visible
|
||||
vm->SetViewVisibility(aView,
|
||||
aStyleContext->StyleVisibility()->IsVisible()
|
||||
|
||||
Reference in New Issue
Block a user