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
70ec294153
commit
b2e19208dd
@ -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