summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2014-10-29 23:08:21 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-29 23:08:21 +0000
commitd23b34b3ac591d2c7bfb58bfc3ab673e775df496 (patch)
treefac3dfb37989b66b2fa152aced17bbb45299cf3e /include
parentde0cdcd42c9d62b3df3e30163e281c6c056f7adf (diff)
parentf3929d6611bb8278e561fdd4b05a21915ac9de76 (diff)
downloadframeworks_native-d23b34b3ac591d2c7bfb58bfc3ab673e775df496.zip
frameworks_native-d23b34b3ac591d2c7bfb58bfc3ab673e775df496.tar.gz
frameworks_native-d23b34b3ac591d2c7bfb58bfc3ab673e775df496.tar.bz2
am f3929d66: am e42cba8f: Merge "Initialize ARect fields in default ctor"
* commit 'f3929d6611bb8278e561fdd4b05a21915ac9de76': Initialize ARect fields in default ctor
Diffstat (limited to 'include')
-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 6cf64eb..31e28d2 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) {