Index: src/effects/gradients/SkLinearGradient.cpp |
diff --git a/src/effects/gradients/SkLinearGradient.cpp b/src/effects/gradients/SkLinearGradient.cpp |
index e660d7cd2d6ae936795805085eb89a89601f6113..70bbbf3b601e7caa070642a41b84a749ada036d7 100644 |
--- a/src/effects/gradients/SkLinearGradient.cpp |
+++ b/src/effects/gradients/SkLinearGradient.cpp |
@@ -52,8 +52,9 @@ static void pts_to_unit_matrix(const SkPoint pts[2], SkMatrix* matrix) { |
/////////////////////////////////////////////////////////////////////////////// |
-SkLinearGradient::SkLinearGradient(const SkPoint pts[2], const Descriptor& desc) |
- : SkGradientShaderBase(desc) |
+SkLinearGradient::SkLinearGradient(const SkPoint pts[2], const Descriptor& desc, |
+ const SkMatrix* localMatrix) |
+ : SkGradientShaderBase(desc, localMatrix) |
, fStart(pts[0]) |
, fEnd(pts[1]) { |
pts_to_unit_matrix(pts, &fPtsToUnit); |