commit | 0ba4bf427acbd7707d04192a98c77ef194a0f25a | [log] [tgz] |
---|---|---|
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Feb 25 16:02:36 2013 +0000 |
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Feb 25 16:02:36 2013 +0000 |
tree | 3f34f47095997ace5136a2bfdbf40281624d86bc | |
parent | 9447103029273a9f8dd7f5997e8af7a1e3ee7488 [diff] |
Use size_t for rowBytes. Previously, we were using uint32_t sometimes, int sometimes, and size_t sometimes. Switch to using size_t, since we are actually talking about a number of bytes. In copyPixelsTo, use 0 as a flag to use the internal rowBytes, which is more consistent with setConfig. Review URL: https://codereview.appspot.com/7370047 git-svn-id: http://skia.googlecode.com/svn/trunk@7843 2bbb7eff-a529-9590-31e7-b0007b416f81