From ba3ddb107874731bf57822faa68301ed8c8360cd Mon Sep 17 00:00:00 2001 From: "rickg%netscape.com" Date: Fri, 13 Nov 1998 04:58:35 +0000 Subject: [PATCH] fixed a crash that someone missed --- layout/generic/nsHTMLFrame.cpp | 4 +++- layout/html/base/src/nsHTMLFrame.cpp | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/layout/generic/nsHTMLFrame.cpp b/layout/generic/nsHTMLFrame.cpp index 067f3dedd58d..dfaa9f0e40bd 100644 --- a/layout/generic/nsHTMLFrame.cpp +++ b/layout/generic/nsHTMLFrame.cpp @@ -241,9 +241,11 @@ RootFrame::ListTag(FILE* out) const { if (nsnull == mContent) { fprintf(out, "*Root(-1)@%p", this); - } else { + } + else { return nsFrame::ListTag(out); } + return NS_OK; } diff --git a/layout/html/base/src/nsHTMLFrame.cpp b/layout/html/base/src/nsHTMLFrame.cpp index 067f3dedd58d..dfaa9f0e40bd 100644 --- a/layout/html/base/src/nsHTMLFrame.cpp +++ b/layout/html/base/src/nsHTMLFrame.cpp @@ -241,9 +241,11 @@ RootFrame::ListTag(FILE* out) const { if (nsnull == mContent) { fprintf(out, "*Root(-1)@%p", this); - } else { + } + else { return nsFrame::ListTag(out); } + return NS_OK; }