| Index: src/gpu/GrPrimitiveProcessor.cpp
|
| diff --git a/src/gpu/GrPrimitiveProcessor.cpp b/src/gpu/GrPrimitiveProcessor.cpp
|
| index 673656821b61b1f65a6031400b89f70b251ceb3e..180217e26166bb0031cd578b6777378ae90fb7ad 100644
|
| --- a/src/gpu/GrPrimitiveProcessor.cpp
|
| +++ b/src/gpu/GrPrimitiveProcessor.cpp
|
| @@ -37,9 +37,10 @@ enum MatrixType {
|
| };
|
|
|
| uint32_t
|
| -GrPrimitiveProcessor::getTransformKey(const SkTArray<const GrCoordTransform*, true>& coords) const {
|
| +GrPrimitiveProcessor::getTransformKey(const SkTArray<const GrCoordTransform*, true>& coords,
|
| + int numCoords) const {
|
| uint32_t totalKey = 0;
|
| - for (int t = 0; t < coords.count(); ++t) {
|
| + for (int t = 0; t < numCoords; ++t) {
|
| uint32_t key = 0;
|
| const GrCoordTransform* coordTransform = coords[t];
|
| if (coordTransform->getMatrix().hasPerspective()) {
|
|
|