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; }