Initialize ARect fields in default ctor
So that we can use Rect() for update and such. Bug: 18095940 Change-Id: I03ed87121d2d279f22013b75e95dd7254551ca1f
This commit is contained in:
parent
cb8a9fcc56
commit
bccab86174
@ -34,6 +34,7 @@ public:
|
|||||||
// because we want the compiler generated versions
|
// because we want the compiler generated versions
|
||||||
|
|
||||||
inline Rect() {
|
inline Rect() {
|
||||||
|
left = right = top = bottom = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline Rect(int32_t w, int32_t h) {
|
inline Rect(int32_t w, int32_t h) {
|
||||||
|
Loading…
Reference in New Issue
Block a user