mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Issue #1751 -- Remove XP_MACOSX conditionals from /layout
This commit is contained in:
parent
df94ccb22c
commit
02c59100a8
19 changed files with 11 additions and 371 deletions
|
|
@ -6648,14 +6648,7 @@ nsComputedDOMStyle::DoGetAnimationIterationCount()
|
|||
RefPtr<nsROCSSPrimitiveValue> iterationCount = new nsROCSSPrimitiveValue;
|
||||
|
||||
float f = animation->GetIterationCount();
|
||||
/* Need a nasty hack here to work around an optimizer bug in gcc
|
||||
4.2 on Mac, which somehow gets confused when directly comparing
|
||||
a float to the return value of NS_IEEEPositiveInfinity when
|
||||
building 32-bit builds. */
|
||||
#ifdef XP_MACOSX
|
||||
volatile
|
||||
#endif
|
||||
float inf = NS_IEEEPositiveInfinity();
|
||||
float inf = NS_IEEEPositiveInfinity();
|
||||
if (f == inf) {
|
||||
iterationCount->SetIdent(eCSSKeyword_infinite);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue