From c529fc11be0332adb96d7c9d3cfc63a58389f050 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Mon, 1 Feb 1999 19:08:30 +0000 Subject: [PATCH] Fixed invocation bug that mac compiler caught --- layout/generic/nsBlockFrame.cpp | 2 +- layout/generic/nsBlockReflowState.cpp | 2 +- layout/generic/nsBlockReflowState.h | 2 +- layout/html/base/src/nsBlockFrame.cpp | 2 +- layout/html/base/src/nsBlockReflowState.cpp | 2 +- layout/html/base/src/nsBlockReflowState.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp index 0f465b1188b7..1febab2ece81 100644 --- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -5092,7 +5092,7 @@ nsAnonymousBlockFrame::StealFirstFrame() if (firstChild == placeholderFrame) { // Remove placeholder from the line's floater array floaters.RemoveElementAt(i); - if (0 == floaters.Count) { + if (0 == floaters.Count()) { delete line->mFloaters; line->mFloaters = nsnull; } diff --git a/layout/generic/nsBlockReflowState.cpp b/layout/generic/nsBlockReflowState.cpp index 0f465b1188b7..1febab2ece81 100644 --- a/layout/generic/nsBlockReflowState.cpp +++ b/layout/generic/nsBlockReflowState.cpp @@ -5092,7 +5092,7 @@ nsAnonymousBlockFrame::StealFirstFrame() if (firstChild == placeholderFrame) { // Remove placeholder from the line's floater array floaters.RemoveElementAt(i); - if (0 == floaters.Count) { + if (0 == floaters.Count()) { delete line->mFloaters; line->mFloaters = nsnull; } diff --git a/layout/generic/nsBlockReflowState.h b/layout/generic/nsBlockReflowState.h index 0f465b1188b7..1febab2ece81 100644 --- a/layout/generic/nsBlockReflowState.h +++ b/layout/generic/nsBlockReflowState.h @@ -5092,7 +5092,7 @@ nsAnonymousBlockFrame::StealFirstFrame() if (firstChild == placeholderFrame) { // Remove placeholder from the line's floater array floaters.RemoveElementAt(i); - if (0 == floaters.Count) { + if (0 == floaters.Count()) { delete line->mFloaters; line->mFloaters = nsnull; } diff --git a/layout/html/base/src/nsBlockFrame.cpp b/layout/html/base/src/nsBlockFrame.cpp index 0f465b1188b7..1febab2ece81 100644 --- a/layout/html/base/src/nsBlockFrame.cpp +++ b/layout/html/base/src/nsBlockFrame.cpp @@ -5092,7 +5092,7 @@ nsAnonymousBlockFrame::StealFirstFrame() if (firstChild == placeholderFrame) { // Remove placeholder from the line's floater array floaters.RemoveElementAt(i); - if (0 == floaters.Count) { + if (0 == floaters.Count()) { delete line->mFloaters; line->mFloaters = nsnull; } diff --git a/layout/html/base/src/nsBlockReflowState.cpp b/layout/html/base/src/nsBlockReflowState.cpp index 0f465b1188b7..1febab2ece81 100644 --- a/layout/html/base/src/nsBlockReflowState.cpp +++ b/layout/html/base/src/nsBlockReflowState.cpp @@ -5092,7 +5092,7 @@ nsAnonymousBlockFrame::StealFirstFrame() if (firstChild == placeholderFrame) { // Remove placeholder from the line's floater array floaters.RemoveElementAt(i); - if (0 == floaters.Count) { + if (0 == floaters.Count()) { delete line->mFloaters; line->mFloaters = nsnull; } diff --git a/layout/html/base/src/nsBlockReflowState.h b/layout/html/base/src/nsBlockReflowState.h index 0f465b1188b7..1febab2ece81 100644 --- a/layout/html/base/src/nsBlockReflowState.h +++ b/layout/html/base/src/nsBlockReflowState.h @@ -5092,7 +5092,7 @@ nsAnonymousBlockFrame::StealFirstFrame() if (firstChild == placeholderFrame) { // Remove placeholder from the line's floater array floaters.RemoveElementAt(i); - if (0 == floaters.Count) { + if (0 == floaters.Count()) { delete line->mFloaters; line->mFloaters = nsnull; }