diff options
| author | 2013-03-21 17:12:40 -0700 | |
|---|---|---|
| committer | 2013-03-21 17:12:40 -0700 | |
| commit | cab25d680e644d962041d05a319e485b96136a5d (patch) | |
| tree | 9ce3a3084a90a448bdb67270a1735686b3593d36 /libs/ui/Region.cpp | |
| parent | 7c1a487ba8c0a3b591a77e2ddcb33ef9bdfaff64 (diff) | |
improved CallStack a bit
- added a ctor that updates and dumps the stack immediately
- added a "logtag" parameter to dump()
Change-Id: Ie51c256071d282591752243bdb4f68cf9ff8829d
Diffstat (limited to 'libs/ui/Region.cpp')
| -rw-r--r-- | libs/ui/Region.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ui/Region.cpp b/libs/ui/Region.cpp index 1a613f8007..488fba32cf 100644 --- a/libs/ui/Region.cpp +++ b/libs/ui/Region.cpp @@ -530,9 +530,7 @@ bool Region::validate(const Region& reg, const char* name, bool silent) } if (result == false && !silent) { reg.dump(name); - CallStack stack; - stack.update(); - stack.dump(""); + CallStack stack(LOG_TAG); } return result; } |