aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skhello.cpp
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-08 07:01:13 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-08 07:01:13 +0000
commit6319367bdcbf5e5050632ab97973f5035d0dd8fa (patch)
tree134e6abaec45aed48d636cc5736052a9042f7ed2 /tools/skhello.cpp
parente6469f10c8f9340032797316fd06ee2f109255ff (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.cpp4
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);