mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
This commit is contained in:
parent
157ce078c9
commit
5977e4153a
@ -63,7 +63,8 @@ public:
|
||||
|
||||
virtual void SetFormFrame(nsFormFrame* aFrame) = 0;
|
||||
|
||||
virtual nscoord GetVerticalInsidePadding(float aPixToTwip,
|
||||
virtual nscoord GetVerticalInsidePadding(nsIPresContext& aPresContext,
|
||||
float aPixToTwip,
|
||||
nscoord aInnerHeight) const = 0;
|
||||
virtual nscoord GetHorizontalInsidePadding(nsIPresContext& aPresContext,
|
||||
float aPixToTwip,
|
||||
|
@ -63,7 +63,8 @@ public:
|
||||
|
||||
virtual void SetFormFrame(nsFormFrame* aFrame) = 0;
|
||||
|
||||
virtual nscoord GetVerticalInsidePadding(float aPixToTwip,
|
||||
virtual nscoord GetVerticalInsidePadding(nsIPresContext& aPresContext,
|
||||
float aPixToTwip,
|
||||
nscoord aInnerHeight) const = 0;
|
||||
virtual nscoord GetHorizontalInsidePadding(nsIPresContext& aPresContext,
|
||||
float aPixToTwip,
|
||||
|
Loading…
Reference in New Issue
Block a user