From e62513fb9274b65bcd9fecf61acc418dd3949df5 Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Sat, 8 Mar 2014 03:02:06 +0000 Subject: Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@13714 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tools/sk_tool_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/sk_tool_utils.cpp') 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); } -- cgit v1.2.3