Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13447 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/peekpixels.cpp b/gm/peekpixels.cpp
index c6744d3..bf9c8fa 100644
--- a/gm/peekpixels.cpp
+++ b/gm/peekpixels.cpp
@@ -37,10 +37,10 @@
SkAutoTUnref<SkSurface> surface(canvas->newSurface(info));
if (surface.get()) {
SkCanvas* surfCanvas = surface->getCanvas();
-
+
draw_content(surfCanvas);
SkBitmap bitmap;
-
+
// test peekPixels
{
SkImageInfo info;
@@ -51,14 +51,14 @@
canvas->drawBitmap(bitmap, 0, 0, NULL);
}
}
-
+
// test ROCanvasPixels
canvas->translate(120, 0);
SkAutoROCanvasPixels ropixels(surfCanvas);
if (ropixels.asROBitmap(&bitmap)) {
canvas->drawBitmap(bitmap, 0, 0, NULL);
}
-
+
// test Surface
canvas->translate(120, 0);
surface->draw(canvas, 0, 0, NULL);