diff options
author | Jason Sams <rjsams@android.com> | 2009-11-19 17:43:24 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-11-19 17:43:24 -0800 |
commit | 857d2b156536c7120532661cf581bf491e3d06b3 (patch) | |
tree | 3ec9f31b51a502dcbbab25cebe85fad877304c22 /libs/rs | |
parent | 35e3d527d37bcaf1aaf1620e4b3364b1b1f2d3a6 (diff) | |
parent | 93f409b5f7992767594107b7f468143e4a89a8c1 (diff) | |
download | frameworks_base-857d2b156536c7120532661cf581bf491e3d06b3.zip frameworks_base-857d2b156536c7120532661cf581bf491e3d06b3.tar.gz frameworks_base-857d2b156536c7120532661cf581bf491e3d06b3.tar.bz2 |
am 93f409b5: am d581b1a8: am ddac83a5: Fix extended logging for object dumping.
Merge commit '93f409b5f7992767594107b7f468143e4a89a8c1'
* commit '93f409b5f7992767594107b7f468143e4a89a8c1':
Fix extended logging for object dumping.
Diffstat (limited to 'libs/rs')
-rw-r--r-- | libs/rs/rsObjectBase.cpp | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/libs/rs/rsObjectBase.cpp b/libs/rs/rsObjectBase.cpp index 05791cb..89c5b00 100644 --- a/libs/rs/rsObjectBase.cpp +++ b/libs/rs/rsObjectBase.cpp @@ -182,23 +182,17 @@ void ObjectBase::zeroAllUserRef(Context *rsc) if (rsc->props.mLogObjects) { LOGV("Objects remaining."); - o = rsc->mObjHead; - while (o) { - o->dumpLOGV(" "); - o = o->mNext; - } + dumpAll(rsc); } } void ObjectBase::dumpAll(Context *rsc) { - if (rsc->props.mLogObjects) { - LOGV("Dumping all objects"); - const ObjectBase * o = rsc->mObjHead; - while (o) { - o->dumpLOGV(" "); - o = o->mNext; - } + LOGV("Dumping all objects"); + const ObjectBase * o = rsc->mObjHead; + while (o) { + o->dumpLOGV(" "); + o = o->mNext; } } |