allow the caller to specified raster-surface rowbytes.
authorreed <reed@google.com>
Sat, 30 Jan 2016 18:01:06 +0000 (10:01 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 30 Jan 2016 18:01:06 +0000 (10:01 -0800)
commit9cd016e9b63f3827580d5b19a187dbf26b8e1436
treea3e33dbff8b8f3197d167505a34b6da1b5e31bf3
parentae658e15477df86d1a864feb48d0274af2784f40
allow the caller to specified raster-surface rowbytes.
along the way, simplify how we copy the surface's bitmap

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1643873002

Review URL: https://codereview.chromium.org/1643873002
include/core/SkSurface.h
src/image/SkSurface_Raster.cpp
tests/SurfaceTest.cpp