From 688027c9d35942d9a191fd4c10c5767a844694c4 Mon Sep 17 00:00:00 2001
From: "troy%netscape.com" <troy%netscape.com>
Date: Tue, 17 Nov 1998 02:37:47 +0000
Subject: [PATCH] Fixed problem that caused Mac build to break

---
 layout/generic/nsHTMLFrame.cpp       | 3 ++-
 layout/html/base/src/nsHTMLFrame.cpp | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/layout/generic/nsHTMLFrame.cpp b/layout/generic/nsHTMLFrame.cpp
index 560bdabe325e9..b4cd3d06def42 100644
--- a/layout/generic/nsHTMLFrame.cpp
+++ b/layout/generic/nsHTMLFrame.cpp
@@ -144,7 +144,8 @@ RootFrame::Reflow(nsIPresContext&          aPresContext,
           deletedFrame->GetNextSibling(mFirstChild);
         } else {
           nsIFrame* prevSibling = nsnull;
-          for (nsIFrame* f = mFirstChild; nsnull != f; f->GetNextSibling(f)) {
+          nsIFrame* f;
+          for (f = mFirstChild; nsnull != f; f->GetNextSibling(f)) {
             if (f == deletedFrame) {
               break;
             }
diff --git a/layout/html/base/src/nsHTMLFrame.cpp b/layout/html/base/src/nsHTMLFrame.cpp
index 560bdabe325e9..b4cd3d06def42 100644
--- a/layout/html/base/src/nsHTMLFrame.cpp
+++ b/layout/html/base/src/nsHTMLFrame.cpp
@@ -144,7 +144,8 @@ RootFrame::Reflow(nsIPresContext&          aPresContext,
           deletedFrame->GetNextSibling(mFirstChild);
         } else {
           nsIFrame* prevSibling = nsnull;
-          for (nsIFrame* f = mFirstChild; nsnull != f; f->GetNextSibling(f)) {
+          nsIFrame* f;
+          for (f = mFirstChild; nsnull != f; f->GetNextSibling(f)) {
             if (f == deletedFrame) {
               break;
             }
-- 
GitLab