nsHTMLContainerFrame::CreateViewForFrame(aPresContext, this, mStyleContext, PR_TRUE);
nsHTMLContainerFrame::CreateViewForFrame(*aPresContext, this, mStyleContext, PR_TRUE);
ImageFrame::GetDesiredSize(nsIPresContext* aPresContext,                           const nsHTMLReflowState& aReflowState,                           nsHTMLReflowMetrics& aDesiredSize){  if (mSizeFrozen) {    aDesiredSize.width = mRect.width;    aDesiredSize.height = mRect.height;  }  else {    // XXX Don't create a view, because we want whatever is below the image    // to show through while the image is loading; Likewise for transparent    // images and broken images    //    // What we really want to do is to create a view, and indicate that the    // view has a transparent content area. Do this while it's loading,    // and then when it's fully loaded mark the view as opaque if the    // image is opaque.    //    // We can't use that approach yet, because currently the compositor doesn't    // support transparent views...#if 0    nsHTMLContainerFrame::CreateViewForFrame(aPresContext, this, mStyleContext, PR_TRUE);#endif    // Setup url before starting the image load    nsAutoString src, base;    if (NS_CONTENT_ATTR_HAS_VALUE == mContent->GetAttribute("SRC", src)) {      mImageLoader.SetURL(src);      if (NS_CONTENT_ATTR_HAS_VALUE ==          mContent->GetAttribute(NS_HTML_BASE_HREF, base)) {        mImageLoader.SetBaseHREF(base);      }    }    mImageLoader.GetDesiredSize(aPresContext, aReflowState,                                this, UpdateImageFrame,                                aDesiredSize);  }}