Index: gm/yuvtorgbeffect.cpp |
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp |
index dbf9cd84c9a82c367eae814f7f987c17aa45e140..ed551ff087fb4dbe31bc3c97adc3d16b4a20568f 100644 |
--- a/gm/yuvtorgbeffect.cpp |
+++ b/gm/yuvtorgbeffect.cpp |
@@ -115,10 +115,10 @@ protected: |
if (fp) { |
SkMatrix viewMatrix; |
viewMatrix.setTranslate(x, y); |
- GrDrawState drawState(viewMatrix); |
+ GrDrawState drawState; |
drawState.setRenderTarget(rt); |
drawState.addColorProcessor(fp); |
- tt.target()->drawSimpleRect(&drawState, GrColor_WHITE, renderRect); |
+ tt.target()->drawSimpleRect(&drawState, GrColor_WHITE, viewMatrix, renderRect); |
} |
x += renderRect.width() + kTestPad; |
} |