diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-08 07:01:13 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-08 07:01:13 +0000 |
commit | 6319367bdcbf5e5050632ab97973f5035d0dd8fa (patch) | |
tree | 134e6abaec45aed48d636cc5736052a9042f7ed2 /tools/skhello.cpp | |
parent | e6469f10c8f9340032797316fd06ee2f109255ff (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9478 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools/skhello.cpp')
-rw-r--r-- | tools/skhello.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<SkSurface> surface(SkSurface::NewRaster(info)); doDraw(surface->getCanvas(), paint, text); - + SkAutoTUnref<SkImage> 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); |