Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron.

git-svn-id: svn://10.0.0.236/trunk@152127 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2004-01-31 22:41:40 +00:00
parent 0b7cf8531a
commit b4581d93cf
27 changed files with 285 additions and 688 deletions

View File

@@ -2825,7 +2825,7 @@ nsCSSRendering::PaintBackground(nsIPresContext* aPresContext,
// Ensure that we always paint a color for the root (in case there's
// no background at all or a partly transparent image).
canvasColor.mBackgroundFlags &= ~NS_STYLE_BG_COLOR_TRANSPARENT;
aPresContext->GetDefaultBackgroundColor(&canvasColor.mBackgroundColor);
canvasColor.mBackgroundColor = aPresContext->DefaultBackgroundColor();
}
}
}