commit | 149e2f6159a797989f6f0fa93ecfaa66cdd55c40 | [log] [tgz] |
---|---|---|
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 22 14:39:03 2009 +0000 |
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 22 14:39:03 2009 +0000 |
tree | e18aa43250c3dbd90c8e14d351ec0ea760f83567 | |
parent | ba974ccbdd7e82df46166a97741b53f074a525b6 [diff] |
add SkSafeRef / SkSafeUnref as inline static functions, to use in place of our existing obj->safeRef(), which is unsafe since it can its 'if (this)' can be optimized away by some compilers. fix some overflows in mimpmap generation git-svn-id: http://skia.googlecode.com/svn/trunk@181 2bbb7eff-a529-9590-31e7-b0007b416f81