diff --git a/mozilla/layout/generic/nsImageFrame.cpp b/mozilla/layout/generic/nsImageFrame.cpp index f2f299d451c..c425b970c97 100644 --- a/mozilla/layout/generic/nsImageFrame.cpp +++ b/mozilla/layout/generic/nsImageFrame.cpp @@ -438,7 +438,7 @@ ImageFrame::GetDesiredSize(nsIPresContext* aPresContext, // 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); + 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 f2f299d451c..c425b970c97 100644 --- a/mozilla/layout/html/base/src/nsImageFrame.cpp +++ b/mozilla/layout/html/base/src/nsImageFrame.cpp @@ -438,7 +438,7 @@ ImageFrame::GetDesiredSize(nsIPresContext* aPresContext, // 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); + nsHTMLContainerFrame::CreateViewForFrame(*aPresContext, this, mStyleContext, PR_TRUE); #endif // Setup url before starting the image load