diff options
author | Mike Reed <reed@google.com> | 2016-12-29 09:36:20 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-29 16:01:42 +0000 |
commit | 85ff84821d5f6c8d48f2af12bdffdd3b5f8baf2c (patch) | |
tree | 73199a7a61951d83c961b0df24cfd72dc21bd7f4 /gm | |
parent | db90e26e2bb7f0bf767e04129673bd2fa48545a6 (diff) |
remove unused ForceUnique option from makeImageSnapshot
BUG=skia:
Change-Id: I2555ceb86b597f7bb34c8fc48b3e07eb7115ea82
Reviewed-on: https://skia-review.googlesource.com/6481
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'gm')
-rw-r--r-- | gm/croppedrects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/croppedrects.cpp b/gm/croppedrects.cpp index ce7ff4b519..2d7de95c55 100644 --- a/gm/croppedrects.cpp +++ b/gm/croppedrects.cpp @@ -46,7 +46,7 @@ private: stroke.setColor(0xff008800); srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke); - fSrcImage = srcSurface->makeImageSnapshot(SkBudgeted::kYes, SkSurface::kNo_ForceUnique); + fSrcImage = srcSurface->makeImageSnapshot(SkBudgeted::kYes); fSrcImageShader = fSrcImage->makeShader(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); } |