aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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;