mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-11 14:28:42 +00:00
Bug 564991. Part 5: Make GetClipRect return a const reference. r=tnikkel
This commit is contained in:
parent
da29165e1d
commit
495351d3e2
@ -1512,7 +1512,7 @@ public:
|
||||
NS_DISPLAY_DECL_NAME("Clip", TYPE_CLIP)
|
||||
virtual PRUint32 GetPerFrameKey() { return 0; }
|
||||
|
||||
nsRect GetClipRect() { return mClip; }
|
||||
const nsRect& GetClipRect() { return mClip; }
|
||||
void SetClipRect(const nsRect& aRect) { mClip = aRect; }
|
||||
nsIFrame* GetClippingFrame() { return mClippingFrame; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user