Modify SkBitmap::extractSubset() to respect volatility
authorskyostil@google.com <skyostil@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 16 Jan 2012 10:45:53 +0000 (10:45 +0000)
committerskyostil@google.com <skyostil@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 16 Jan 2012 10:45:53 +0000 (10:45 +0000)
commit0eb7576c659a165f1d73b6b7ddfd43dc3782f62b
tree9b453b5258e1bbc1009d315c8ac1afbbe6a57db1
parentff25e3e3a079b32a3349f3337c48d6d3ab4b0651
Modify SkBitmap::extractSubset() to respect volatility

The resulting subset bitmap will always have the same volatility flag as the
source bitmap.

BUG=452
Review URL: http://codereview.appspot.com/5544052

git-svn-id: http://skia.googlecode.com/svn/trunk@3039 2bbb7eff-a529-9590-31e7-b0007b416f81
src/core/SkBitmap.cpp
tests/BitmapCopyTest.cpp