OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70ec294
)
Initialize ARect fields in default ctor
author
Dmitriy Ivanov
<dimitry@google.com>
Tue, 28 Oct 2014 23:41:10 +0000
(16:41 -0700)
committer
Dmitriy Ivanov
<dimitry@google.com>
Tue, 28 Oct 2014 23:41:10 +0000
(16:41 -0700)
So that we can use Rect() for update and such.
Bug:
18095940
Change-Id: I03ed87121d2d279f22013b75e95dd7254551ca1f
include/ui/Rect.h
patch
|
blob
|
history
diff --git
a/include/ui/Rect.h
b/include/ui/Rect.h
index
6cf64eb
..
31e28d2
100644
(file)
--- 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) {