Index: src/gpu/gl/GrGLPathProcessor.cpp |
diff --git a/src/gpu/gl/GrGLPathProcessor.cpp b/src/gpu/gl/GrGLPathProcessor.cpp |
index 9ce668298d993c8f488a5d9ba83821c2476cd9f9..e8c10a3c9d68a185077375c0380ce3342366890c 100644 |
--- a/src/gpu/gl/GrGLPathProcessor.cpp |
+++ b/src/gpu/gl/GrGLPathProcessor.cpp |
@@ -108,11 +108,12 @@ void GrGLPathProcessor::setTransformData( |
const SkTArray<const GrCoordTransform*, true>& coordTransforms, |
GrGLPathRendering* glpr, |
GrGLuint programID) { |
+ const GrPathProcessor& pathProc = primProc.cast<GrPathProcessor>(); |
SkSTArray<2, Transform, true>& transforms = fInstalledTransforms[index]; |
int numTransforms = transforms.count(); |
for (int t = 0; t < numTransforms; ++t) { |
SkASSERT(transforms[t].fHandle.isValid()); |
- const SkMatrix& transform = GetTransformMatrix(primProc.localMatrix(), |
+ const SkMatrix& transform = GetTransformMatrix(pathProc.localMatrix(), |
*coordTransforms[t]); |
if (transforms[t].fCurrentValue.cheapEqualTo(transform)) { |
continue; |