Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153018 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2822,8 +2822,8 @@ nsCSSRendering::PaintBackgroundWithSC(nsIPresContext* aPresContext,
|
||||
PRBool canDrawBackgroundColor = PR_TRUE;
|
||||
|
||||
if (aUsePrintSettings) {
|
||||
aPresContext->GetBackgroundImageDraw(canDrawBackgroundImage);
|
||||
aPresContext->GetBackgroundColorDraw(canDrawBackgroundColor);
|
||||
canDrawBackgroundImage = aPresContext->GetBackgroundImageDraw();
|
||||
canDrawBackgroundColor = aPresContext->GetBackgroundColorDraw();
|
||||
}
|
||||
|
||||
// Check to see if we have an appearance defined. If so, we let the theme
|
||||
|
||||
Reference in New Issue
Block a user