Fixing more build bustage and warnings. Bug 317375

git-svn-id: svn://10.0.0.236/trunk@188218 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2006-01-26 05:14:30 +00:00
parent df58ee313e
commit bb49e8220e
2 changed files with 3 additions and 2 deletions

View File

@@ -563,7 +563,8 @@ private:
* The lists themselves are external to this object and thus can be shared
* with others. Some of the list pointers may even refer to the same list.
*/
struct nsDisplayListSet {
class nsDisplayListSet {
public:
/**
* @return a list where one should place the border and/or background for
* this frame (everything from steps 1 and 2 of CSS 2.1 appendix E)

View File

@@ -1263,7 +1263,7 @@ class nsDisplayImage : public nsDisplayItem {
public:
nsDisplayImage(nsImageFrame* aFrame, imgIContainer* aImage)
: mFrame(aFrame), mImage(aImage) {}
virtual nsImageFrame* GetUnderlyingFrame() { return mFrame; }
virtual nsIFrame* GetUnderlyingFrame() { return mFrame; }
virtual void Paint(nsDisplayListBuilder* aBuilder, nsIRenderingContext* aCtx,
const nsRect& aDirtyRect);
NS_DISPLAY_DECL_NAME("Image")