Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
This commit is contained in:
@@ -232,9 +232,8 @@ ProcessTableRulesAttribute(nsStyleStruct* aStyleStruct,
|
||||
borderData->SetBorderColor(aSide, borderColor);
|
||||
}
|
||||
// set the border width to be 1 pixel
|
||||
float p2t;
|
||||
aRuleData->mPresContext->GetScaledPixelsToTwips(&p2t);
|
||||
nscoord onePixel = NSToCoordRound(p2t);
|
||||
nscoord onePixel =
|
||||
NSToCoordRound(aRuleData->mPresContext->ScaledPixelsToTwips());
|
||||
nsStyleCoord coord(onePixel);
|
||||
switch(aSide) {
|
||||
case NS_SIDE_TOP:
|
||||
|
||||
Reference in New Issue
Block a user