Index: cc/paint/paint_shader.h |
diff --git a/cc/paint/paint_shader.h b/cc/paint/paint_shader.h |
index f519703eb88c1d5ea69d46eff8890fd76a9ab8a9..f9448691cb824444348bbe21b204a014563bcafe 100644 |
--- a/cc/paint/paint_shader.h |
+++ b/cc/paint/paint_shader.h |
@@ -35,7 +35,8 @@ inline sk_sp<PaintShader> MakePaintShaderRecord(sk_sp<PaintRecord> record, |
SkShader::TileMode ty, |
const SkMatrix* local_matrix, |
const SkRect* tile) { |
- return SkShader::MakePictureShader(record, tx, ty, local_matrix, tile); |
+ return SkShader::MakePictureShader(ToSkPicture(record), tx, ty, local_matrix, |
+ tile); |
} |
} // namespace cc |