commit | a8ac904d97a008b346390c87e74d44df39b0f320 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu Oct 15 18:08:15 2009 -0700 |
committer | Mathias Agopian <mathias@google.com> | Thu Oct 15 18:08:15 2009 -0700 |
tree | 542fe7fccb07a5d9f380c9d169680d38a4f5f445 | |
parent | 53f33d84776a0bad668e361365a7049b16f8a929 [diff] |
fix [2182249] [MR1] valgrind error in surface flinger
diff --git a/libs/ui/tests/region.cpp b/libs/ui/tests/region.cpp index 0deb2ba..ef15de9 100644 --- a/libs/ui/tests/region.cpp +++ b/libs/ui/tests/region.cpp
@@ -25,9 +25,16 @@ int main() { + Region empty; Region reg0( Rect( 0, 0, 100, 100 ) ); Region reg1 = reg0; Region reg2, reg3; + + Region reg4 = empty | reg1; + Region reg5 = reg1 | empty; + + reg4.dump("reg4"); + reg5.dump("reg5"); reg0.dump("reg0"); reg1.dump("reg1");