Cleanup issues related to SkBitmap getSize()/extractSubset().
authorwjmaclean@chromium.org <wjmaclean@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 22 Feb 2011 22:32:14 +0000 (22:32 +0000)
committerwjmaclean@chromium.org <wjmaclean@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 22 Feb 2011 22:32:14 +0000 (22:32 +0000)
commit3f0260d0f7692f28057cfcf7121829285e972e28
treebfe512efd526c1f8acd1167a594e3aa3db9d0e50
parentfa63fd66b5147e8dee79019c8eb1c83c58cbd697
Cleanup issues related to SkBitmap getSize()/extractSubset().

Some minor revisions to do cleanup regarding getSize() and extractSubset(). All
are related to avoid read/write past end of the pixel buffer when getSize() is
used on a bitmap that is the result of a call to extractSubset().

git-svn-id: http://skia.googlecode.com/svn/trunk@835 2bbb7eff-a529-9590-31e7-b0007b416f81
src/core/SkBitmap.cpp
src/utils/win/SkOSWindow_Win.cpp