diff options
author | 2014-03-08 03:02:06 +0000 | |
---|---|---|
committer | 2014-03-08 03:02:06 +0000 | |
commit | e62513fb9274b65bcd9fecf61acc418dd3949df5 (patch) | |
tree | 899cea64cb4b8eba938d1cd40464ca9ffaccf283 /tools/sk_tool_utils.cpp | |
parent | 77286a5945fd1a42018d93dee2c08a4280e5aa6d (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13714 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools/sk_tool_utils.cpp')
-rw-r--r-- | tools/sk_tool_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/sk_tool_utils.cpp b/tools/sk_tool_utils.cpp index f5b8b9f93d..1197388694 100644 --- a/tools/sk_tool_utils.cpp +++ b/tools/sk_tool_utils.cpp @@ -37,11 +37,11 @@ void write_pixels(SkCanvas* canvas, const SkBitmap& bitmap, int x, int y, SkColorType colorType, SkAlphaType alphaType) { SkBitmap tmp(bitmap); tmp.lockPixels(); - + SkImageInfo info = tmp.info(); info.fColorType = colorType; info.fAlphaType = alphaType; - + canvas->writePixels(info, tmp.getPixels(), tmp.rowBytes(), x, y); } |