diff options
| author | reed <reed@google.com> | 2015-07-17 07:09:43 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-07-17 07:09:43 -0700 |
| commit | 84984efeb64787b88c5f8bd6929cfe2d58a3ba06 (patch) | |
| tree | 79645557c20ff0e6e6bf75a0e92df1c7fece039f /samplecode/SampleApp.cpp | |
| parent | b9efc79015599db1b95a304210d119947bedb8de (diff) | |
Revert[2] of guard to remove DrawBitmapRectFlags
This reverts commit 91110195a2eee170c11885da9d16f94b00a39f87.
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/1240753003
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 a80ccd95b8..508ff63052 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -1116,7 +1116,7 @@ void SampleWindow::showZoomer(SkCanvas* canvas) { // Clear the background behind our zoomed in view paint.setColor(SK_ColorWHITE); canvas->drawRect(dest, paint); - canvas->drawBitmapRect(bitmap, &src, dest); + canvas->drawBitmapRect(bitmap, src, dest, NULL); paint.setColor(SK_ColorBLACK); paint.setStyle(SkPaint::kStroke_Style); // Draw a border around the pixel in the middle |
