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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user