diff options
Diffstat (limited to 'samplecode/SampleApp.cpp')
-rw-r--r-- | samplecode/SampleApp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index ce97024774..feace008fd 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -1064,7 +1064,7 @@ void SampleWindow::listTitles() { static SkBitmap capture_bitmap(SkCanvas* canvas) { SkBitmap bm; if (bm.tryAllocPixels(canvas->imageInfo())) { - canvas->readPixels(&bm, 0, 0); + canvas->readPixels(bm, 0, 0); } return bm; } |