diff options
Diffstat (limited to 'src/core/SkBitmap.cpp')
-rw-r--r-- | src/core/SkBitmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp index 5ca3601a42..bdc795fa6b 100644 --- a/src/core/SkBitmap.cpp +++ b/src/core/SkBitmap.cpp @@ -893,7 +893,7 @@ void SkBitmap::buildMipMap(bool forceRebuild) { level[i].fPixels = addr; level[i].fWidth = SkToU16(width); level[i].fHeight = SkToU16(height); - level[i].fRowBytes = SkToU16(rowBytes); + level[i].fRowBytes = rowBytes; dstBM.setConfig(config, width, height, rowBytes); dstBM.setPixels(addr); |