diff options
author | 2014-02-14 03:02:05 +0000 | |
---|---|---|
committer | 2014-02-14 03:02:05 +0000 | |
commit | 02d6f546161e2c98d69066373cec3f54f3c46252 (patch) | |
tree | 606bcb9a046906289516d647b322c63c2613f2fc /gm/peekpixels.cpp | |
parent | d328fb62938b1d7e43b07c619756dfdc781453b3 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13447 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/peekpixels.cpp')
-rw-r--r-- | gm/peekpixels.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gm/peekpixels.cpp b/gm/peekpixels.cpp index c6744d3abe..bf9c8faffe 100644 --- a/gm/peekpixels.cpp +++ b/gm/peekpixels.cpp @@ -37,10 +37,10 @@ protected: 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 @@ protected: 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); |