summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2014-10-29 18:32:49 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-10-29 18:32:49 +0000
commit7b97351b68e96ea67380140266abb897fe1be57d (patch)
treefc1de8e2f60bbcd25c7efc4546a5a7dc59f1503c
parent1834f8ea975e9a882b44dc479320fe02e306e630 (diff)
parentb2e19208ddf3274e7cc044ca1abfcd02787a7cf1 (diff)
Merge "Initialize ARect fields in default ctor" into lmp-mr1-dev
-rw-r--r--include/ui/Rect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/Rect.h b/include/ui/Rect.h
index 6cf64eb633..31e28d27f7 100644
--- a/include/ui/Rect.h
+++ b/include/ui/Rect.h
@@ -34,6 +34,7 @@ public:
// because we want the compiler generated versions
inline Rect() {
+ left = right = top = bottom = 0;
}
inline Rect(int32_t w, int32_t h) {