From 6319367bdcbf5e5050632ab97973f5035d0dd8fa Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Sat, 8 Jun 2013 07:01:13 +0000 Subject: Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@9478 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tools/skhello.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/skhello.cpp') diff --git a/tools/skhello.cpp b/tools/skhello.cpp index 036b08a00e..bd3174252e 100644 --- a/tools/skhello.cpp +++ b/tools/skhello.cpp @@ -35,7 +35,7 @@ static bool do_surface(int w, int h, const char path[], const char text[], }; SkAutoTUnref surface(SkSurface::NewRaster(info)); doDraw(surface->getCanvas(), paint, text); - + SkAutoTUnref image(surface->newImageSnapshot()); SkAutoDataUnref data(image->encode()); if (NULL == data.get()) { @@ -92,7 +92,7 @@ int tool_main(int argc, char** argv) { { do_surface, ".png" }, { do_document, ".pdf" }, }; - + for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { SkString file; file.printf("%s%s", path.c_str(), gRec[i].fSuffix); -- cgit v1.2.3