From 65cddaa40f4435da1633687123e5bf89e7604600 Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Thu, 14 Oct 1999 14:55:08 +0000 Subject: [PATCH] This corrects an erroneous checkin made on monday, fixes bug #16362 r=dcone --- 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 ba66036684e..bbcd1505a98 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -3501,7 +3501,7 @@ nsCSSFrameConstructor::InitializeSelectFrame(nsIPresContext* aPresConte aPresContext->ResolvePseudoStyleContextFor(aContent, nsLayoutAtoms::scrolledContentPseudo, - scrollPseudoStyle, PR_FALSE, + aStyleContext, PR_FALSE, getter_AddRefs(scrolledPseudoStyle)); scrollFrame->Init(*aPresContext, aContent, geometricParent, aStyleContext, diff --git a/layout/html/style/src/nsCSSFrameConstructor.cpp b/layout/html/style/src/nsCSSFrameConstructor.cpp index ba66036684e..bbcd1505a98 100644 --- a/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -3501,7 +3501,7 @@ nsCSSFrameConstructor::InitializeSelectFrame(nsIPresContext* aPresConte aPresContext->ResolvePseudoStyleContextFor(aContent, nsLayoutAtoms::scrolledContentPseudo, - scrollPseudoStyle, PR_FALSE, + aStyleContext, PR_FALSE, getter_AddRefs(scrolledPseudoStyle)); scrollFrame->Init(*aPresContext, aContent, geometricParent, aStyleContext,