From 823ba975a6f85c043ad140a5cf06d486730ae27c Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Tue, 26 Oct 1999 23:21:14 +0000 Subject: [PATCH] changed param in the initializer to aContent instead of nsnull r=kmcclusk,b=17015 --- layout/base/nsCSSFrameConstructor.cpp | 2 +- layout/html/style/src/nsCSSFrameConstructor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index 69bd7ce9bc9e..2a16900dcfbd 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -3517,7 +3517,7 @@ nsCSSFrameConstructor::InitializeSelectFrame(nsIPresContext* aPresConte // Initialize the frame and force it to have a view // the scrolled frame is anonymous and does not have a content node - scrolledFrame->Init(*aPresContext, nsnull, scrollFrame, + scrolledFrame->Init(*aPresContext, aContent, scrollFrame, scrolledPseudoStyle, nsnull); nsHTMLContainerFrame::CreateViewForFrame(*aPresContext, scrolledFrame, diff --git a/layout/html/style/src/nsCSSFrameConstructor.cpp b/layout/html/style/src/nsCSSFrameConstructor.cpp index 69bd7ce9bc9e..2a16900dcfbd 100644 --- a/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -3517,7 +3517,7 @@ nsCSSFrameConstructor::InitializeSelectFrame(nsIPresContext* aPresConte // Initialize the frame and force it to have a view // the scrolled frame is anonymous and does not have a content node - scrolledFrame->Init(*aPresContext, nsnull, scrollFrame, + scrolledFrame->Init(*aPresContext, aContent, scrollFrame, scrolledPseudoStyle, nsnull); nsHTMLContainerFrame::CreateViewForFrame(*aPresContext, scrolledFrame,