Made SetStyleContext take the presentation context as a parameter

Made DidSetStyleContext virtual, since we need to override the behavior in subclasses


git-svn-id: svn://10.0.0.236/trunk@1026 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kostello
1998-05-01 20:43:42 +00:00
parent fdf9769d8a
commit 7cde78d07b
19 changed files with 50 additions and 50 deletions

View File

@@ -78,7 +78,7 @@ NS_METHOD PlaceholderFrame::ResizeReflow(nsIPresContext* aPresContext,
NS_RELEASE(delegate);
// Set the style context for the frame
mAnchoredItem->SetStyleContext(mStyleContext);
mAnchoredItem->SetStyleContext(aPresContext,mStyleContext);
// Resize reflow the anchored item into the available space
// XXX Check for complete?