Use nsHTMLContainerFrame instead of nsHTMLBase
git-svn-id: svn://10.0.0.236/trunk@10750 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3bcbd67a5a
commit
a5295b280e
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user