diff options
author | Brian Osman <brianosman@google.com> | 2016-12-06 10:34:51 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-06 16:09:37 +0000 |
commit | 13bf6227c5701903b38b5c21a15c8323dec7734a (patch) | |
tree | 227e839169a291a2fc3e752f157e3c9888f168c8 /src/image | |
parent | e932d4b3a99905a6272c5574f21ac651632f4e82 (diff) |
Remove dest surface color mode from bitmap controller
This is already on the bitmap provider - no need to plumb it here.
BUG=skia:
Change-Id: Ie8c5aef8ea443c58d59598aa66e357ad4c212b25
Reviewed-on: https://skia-review.googlesource.com/5621
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/image')
-rw-r--r-- | src/image/SkImageShader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/SkImageShader.cpp b/src/image/SkImageShader.cpp index 16b8eb6036..d2ddc95744 100644 --- a/src/image/SkImageShader.cpp +++ b/src/image/SkImageShader.cpp @@ -284,7 +284,7 @@ bool SkImageShader::onAppendStages(SkRasterPipeline* p, SkColorSpace* dst, SkFal auto mode = (dst == nullptr) ? SkDestinationSurfaceColorMode::kLegacy : SkDestinationSurfaceColorMode::kGammaAndColorSpaceAware; SkBitmapProvider provider(fImage.get(), mode); - SkDefaultBitmapController controller(mode); + SkDefaultBitmapController controller; std::unique_ptr<SkBitmapController::State> state { controller.requestBitmap(provider, matrix, quality) }; |