commit | 38a7fa2ae37236952e5fb0186fddb4f6da5990d8 | [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 | 75fba8e01e6dfc6ac4afab2992de185b91edbf1c | |
parent | f7f46955f70db4fa032d6ee0bf6bef1d10a7a181 [diff] [blame] |
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");