Skip to content
Snippets Groups Projects
Commit cc5c5734 authored by dbaron%dbaron.org's avatar dbaron%dbaron.org
Browse files

Land bug 72747 in pieces: Change types on ScrollbarStyles from PRInt32 to...

Land bug 72747 in pieces:  Change types on ScrollbarStyles from PRInt32 to PRUint8.  b=72747  r+sr=roc
parent 31bf95ea
No related branches found
No related tags found
No related merge requests found
......@@ -67,10 +67,9 @@ public:
struct ScrollbarStyles {
// one of NS_STYLE_OVERFLOW_SCROLL, NS_STYLE_OVERFLOW_HIDDEN,
// NS_STYLE_OVERFLOW_VISIBLE, NS_STYLE_OVERFLOW_AUTO
PRInt32 mHorizontal;
PRInt32 mVertical;
ScrollbarStyles(PRInt32 h, PRInt32 v) : mHorizontal(h), mVertical(v) {}
// NS_STYLE_OVERFLOW_AUTO
PRUint8 mHorizontal, mVertical;
ScrollbarStyles(PRUint8 h, PRUint8 v) : mHorizontal(h), mVertical(v) {}
};
virtual ScrollbarStyles GetScrollbarStyles() const = 0;
......
......@@ -67,10 +67,9 @@ public:
struct ScrollbarStyles {
// one of NS_STYLE_OVERFLOW_SCROLL, NS_STYLE_OVERFLOW_HIDDEN,
// NS_STYLE_OVERFLOW_VISIBLE, NS_STYLE_OVERFLOW_AUTO
PRInt32 mHorizontal;
PRInt32 mVertical;
ScrollbarStyles(PRInt32 h, PRInt32 v) : mHorizontal(h), mVertical(v) {}
// NS_STYLE_OVERFLOW_AUTO
PRUint8 mHorizontal, mVertical;
ScrollbarStyles(PRUint8 h, PRUint8 v) : mHorizontal(h), mVertical(v) {}
};
virtual ScrollbarStyles GetScrollbarStyles() const = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment