Bug 508325 - Fix a second instance of the core problem fixed in the first push. Never trust an eyeballed-as-correct patch that you haven't actually built and tested yourself... r=me as trivial bustage fix

This commit is contained in:
Jeff Walden 2009-08-06 00:36:54 -07:00
parent 7c60af6847
commit ce8a906e48
2 changed files with 7 additions and 7 deletions

View File

@ -600,8 +600,8 @@ public:
AppUnitsToGfxUnits(aAppRect.height)); }
nscoord TwipsToAppUnits(PRInt32 aTwips) const
{ return NSToCoordRound(NS_TWIPS_TO_INCHES(aTwips) *
mDeviceContext->AppUnitsPerInch()); }
{ return NSCoordSaturatingMultiply(NS_TWIPS_TO_INCHES(aTwips),
mDeviceContext->AppUnitsPerInch()); }
// Margin-specific version, since they often need TwipsToAppUnits
nsMargin TwipsToAppUnits(const nsIntMargin &marginInTwips) const

View File

@ -80,13 +80,13 @@
!= background-size-cover-each-box.html background-size-cover-bounding-box.html
== background-size-monster-ch.html background-size-monster-ref.html
random == background-size-monster-cm.html background-size-monster-ref.html
== background-size-monster-cm.html background-size-monster-ref.html
== background-size-monster-em.html background-size-monster-ref.html
== background-size-monster-ex.html background-size-monster-ref.html
random == background-size-monster-inches.html background-size-monster-ref.html
random == background-size-monster-mm.html background-size-monster-ref.html
random == background-size-monster-pc.html background-size-monster-ref.html
random == background-size-monster-pt.html background-size-monster-ref.html
== background-size-monster-inches.html background-size-monster-ref.html
== background-size-monster-mm.html background-size-monster-ref.html
== background-size-monster-pc.html background-size-monster-ref.html
== background-size-monster-pt.html background-size-monster-ref.html
== background-size-monster-px.html background-size-monster-ref.html
== background-size-monster-rem.html background-size-monster-ref.html