aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp')
-rw-r--r--tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp b/tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp
index fd2f2effb1..47f349b2eb 100644
--- a/tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp
+++ b/tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp
@@ -121,7 +121,7 @@ void RasterWindowContext_mac::onSwapBuffers() {
(fDisplayParams.fColorSpace != nullptr ||
kRGBA_F16_SkColorType == fDisplayParams.fColorType);
SkPaint gammaPaint;
- gammaPaint.setBlendMode(SkBlendMode::kSrc);
+ gammaPaint.setXfermodeMode(SkXfermode::kSrc_Mode);
if (doGamma) {
gammaPaint.setColorFilter(SkGammaColorFilter::Make(1.0f / 2.2f));
}