aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2018-04-09 14:17:21 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-09 19:45:52 +0000
commit1eeeae0491bac9ee76e785245f4a6aaa11f7a540 (patch)
tree60fde9399a57117d673349b833c7afea4f3ffa8d
parent1676ec20e74bcde0bb4b68af13898da300564cfd (diff)
use commonPaint for all raster pipeline
Looks like a typo? Change-Id: Ie5a1ab546d4d658a864e3362319883f2bf46c111 Reviewed-on: https://skia-review.googlesource.com/119942 Commit-Queue: Mike Klein <mtklein@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org> Reviewed-by: Florin Malita <fmalita@chromium.org>
-rw-r--r--src/core/SkBlitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkBlitter.cpp b/src/core/SkBlitter.cpp
index bf60cb146f..0a642ca4f6 100644
--- a/src/core/SkBlitter.cpp
+++ b/src/core/SkBlitter.cpp
@@ -1066,7 +1066,7 @@ SkBlitter* SkBlitter::Choose(const SkPixmap& device,
if (shader && SkRGB565_Shader_Blitter::Supports(device, *legacyPaint)) {
blitter = alloc->make<SkRGB565_Shader_Blitter>(device, *legacyPaint, shaderContext);
} else {
- blitter = SkCreateRasterPipelineBlitter(device, *legacyPaint, matrix, alloc);
+ blitter = SkCreateRasterPipelineBlitter(device, *commonPaint, matrix, alloc);
}
break;