mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
not using scaled pixels to twips
b=21293 r=dcone
This commit is contained in:
parent
7604df3df9
commit
14a871afc2
@ -212,7 +212,7 @@ nsFormControlHelper::CalcNavQuirkSizing(nsIPresContext* aPresContext,
|
||||
{
|
||||
float p2t;
|
||||
float t2p;
|
||||
aPresContext->GetScaledPixelsToTwips(&p2t);
|
||||
aPresContext->GetPixelsToTwips(&p2t);
|
||||
aPresContext->GetTwipsToPixels(&t2p);
|
||||
|
||||
nscoord ascent;
|
||||
|
@ -212,7 +212,7 @@ nsFormControlHelper::CalcNavQuirkSizing(nsIPresContext* aPresContext,
|
||||
{
|
||||
float p2t;
|
||||
float t2p;
|
||||
aPresContext->GetScaledPixelsToTwips(&p2t);
|
||||
aPresContext->GetPixelsToTwips(&p2t);
|
||||
aPresContext->GetTwipsToPixels(&t2p);
|
||||
|
||||
nscoord ascent;
|
||||
|
Loading…
Reference in New Issue
Block a user