From a5295b280e1b287ccebb6ba36eb81e1609e660f8 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Wed, 23 Sep 1998 02:30:21 +0000 Subject: [PATCH] Use nsHTMLContainerFrame instead of nsHTMLBase git-svn-id: svn://10.0.0.236/trunk@10750 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsImageFrame.cpp | 4 ++-- mozilla/layout/html/base/src/nsImageFrame.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/layout/generic/nsImageFrame.cpp b/mozilla/layout/generic/nsImageFrame.cpp index 3b14492f088..e32c78c7996 100644 --- a/mozilla/layout/generic/nsImageFrame.cpp +++ b/mozilla/layout/generic/nsImageFrame.cpp @@ -39,7 +39,7 @@ #include "nsIView.h" #include "nsIViewManager.h" #include "nsCSSLayout.h" -#include "nsHTMLBase.h" +#include "nsHTMLContainerFrame.h" #include "prprf.h" #include "nsISizeOfHandler.h" #include "nsIFontMetrics.h" @@ -449,7 +449,7 @@ ImageFrame::GetDesiredSize(nsIPresContext* aPresContext, // We can't use that approach yet, because currently the compositor doesn't // support transparent views... #if 0 - nsHTMLBase::CreateViewForFrame(aPresContext, this, mStyleContext, PR_TRUE); + nsHTMLContainerFrame::CreateViewForFrame(aPresContext, this, mStyleContext, PR_TRUE); #endif // Setup url before starting the image load diff --git a/mozilla/layout/html/base/src/nsImageFrame.cpp b/mozilla/layout/html/base/src/nsImageFrame.cpp index 3b14492f088..e32c78c7996 100644 --- a/mozilla/layout/html/base/src/nsImageFrame.cpp +++ b/mozilla/layout/html/base/src/nsImageFrame.cpp @@ -39,7 +39,7 @@ #include "nsIView.h" #include "nsIViewManager.h" #include "nsCSSLayout.h" -#include "nsHTMLBase.h" +#include "nsHTMLContainerFrame.h" #include "prprf.h" #include "nsISizeOfHandler.h" #include "nsIFontMetrics.h" @@ -449,7 +449,7 @@ ImageFrame::GetDesiredSize(nsIPresContext* aPresContext, // We can't use that approach yet, because currently the compositor doesn't // support transparent views... #if 0 - nsHTMLBase::CreateViewForFrame(aPresContext, this, mStyleContext, PR_TRUE); + nsHTMLContainerFrame::CreateViewForFrame(aPresContext, this, mStyleContext, PR_TRUE); #endif // Setup url before starting the image load