From 4ea2ce59ac50e5cbbb3d88715e6ce6e68d7ae4d4 Mon Sep 17 00:00:00 2001 From: "karnaze%netscape.com" Date: Tue, 13 Mar 2001 07:44:46 +0000 Subject: [PATCH] fix mac bustage from earlier checkin. r=syd. git-svn-id: svn://10.0.0.236/trunk@89477 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsPresShell.cpp | 4 +++- mozilla/layout/html/base/src/nsPresShell.cpp | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/base/nsPresShell.cpp b/mozilla/layout/base/nsPresShell.cpp index 91ff3bce57d..a0946254262 100644 --- a/mozilla/layout/base/nsPresShell.cpp +++ b/mozilla/layout/base/nsPresShell.cpp @@ -5302,7 +5302,9 @@ PresShell::ProcessReflowCommands(PRBool aInterruptible) ProcessReflowCommand(mReflowCommands, aInterruptible, desiredSize, maxSize, *rcx); if (aInterruptible) { LL_I2L(maxTime, gMaxRCProcessingTime); - if (LL_CMP(mAccumulatedReflowTime, >, maxTime)) + PRInt64 temp; + LL_I2L(temp, mAccumulatedReflowTime); + if (LL_CMP(temp, >, maxTime)) break; } } diff --git a/mozilla/layout/html/base/src/nsPresShell.cpp b/mozilla/layout/html/base/src/nsPresShell.cpp index 91ff3bce57d..a0946254262 100644 --- a/mozilla/layout/html/base/src/nsPresShell.cpp +++ b/mozilla/layout/html/base/src/nsPresShell.cpp @@ -5302,7 +5302,9 @@ PresShell::ProcessReflowCommands(PRBool aInterruptible) ProcessReflowCommand(mReflowCommands, aInterruptible, desiredSize, maxSize, *rcx); if (aInterruptible) { LL_I2L(maxTime, gMaxRCProcessingTime); - if (LL_CMP(mAccumulatedReflowTime, >, maxTime)) + PRInt64 temp; + LL_I2L(temp, mAccumulatedReflowTime); + if (LL_CMP(temp, >, maxTime)) break; } }