mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Bug 324852. Clean up missing uses of NS_DISPLAY_DECL_NAME for a tiny space saving with frame display lists
This commit is contained in:
parent
918bafa194
commit
fa09c4074a
@ -173,7 +173,7 @@ public:
|
||||
virtual nsIFrame* GetUnderlyingFrame() { return mFrame; }
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, nsIRenderingContext* aCtx,
|
||||
const nsRect& aDirtyRect);
|
||||
virtual const char* Name() { return "CheckMark"; }
|
||||
NS_DISPLAY_DECL_NAME("CheckMark")
|
||||
private:
|
||||
nsGfxCheckboxControlFrame* mFrame;
|
||||
};
|
||||
|
@ -195,7 +195,7 @@ public:
|
||||
virtual nsIFrame* GetUnderlyingFrame() { return mFrame; }
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, nsIRenderingContext* aCtx,
|
||||
const nsRect& aDirtyRect);
|
||||
virtual const char* Name() { return "RadioButton"; }
|
||||
NS_DISPLAY_DECL_NAME("RadioButton")
|
||||
private:
|
||||
nsGfxRadioControlFrame* mFrame;
|
||||
};
|
||||
|
@ -74,7 +74,7 @@ public:
|
||||
virtual nsIFrame* GetUnderlyingFrame() { return mFrame; }
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, nsIRenderingContext* aCtx,
|
||||
const nsRect& aDirtyRect);
|
||||
virtual const char* Name() { return "TextDecoration"; }
|
||||
NS_DISPLAY_DECL_NAME("TextDecoration")
|
||||
private:
|
||||
nsHTMLContainerFrame* mFrame;
|
||||
nsLineBox* mLine;
|
||||
|
@ -2428,7 +2428,7 @@ public:
|
||||
: nsDisplayWrapList(aFrame, aList), mTargetFrame(aTargetFrame) {}
|
||||
virtual nsIFrame* HitTest(nsDisplayListBuilder* aBuilder, nsPoint aPt);
|
||||
virtual nsIFrame* GetUnderlyingFrame() { return mFrame; }
|
||||
virtual const char* Name() { return "XULEventRedirector"; }
|
||||
NS_DISPLAY_DECL_NAME("XULEventRedirector")
|
||||
private:
|
||||
nsIFrame* mTargetFrame;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user