diff options
author | reed <reed@google.com> | 2015-06-05 11:31:26 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-05 11:31:26 -0700 |
commit | 56263c78d86cb536d463b8d46f00ac44cad3defb (patch) | |
tree | c43997464263ed75c154419ee403a54fc0ad0163 /src/core/SkDraw.cpp | |
parent | b500ffa1a253dca35a7ff846ebece9fe570e3565 (diff) |
delete (unused) TransparentShader
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/1153193014
Diffstat (limited to 'src/core/SkDraw.cpp')
-rw-r--r-- | src/core/SkDraw.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index 0ecc27d491..ac69680811 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -2110,8 +2110,7 @@ void SkDraw::drawVertices(SkCanvas::VertexMode vmode, int count, if (textures) { SkMatrix tempM; if (texture_to_matrix(state, vertices, textures, &tempM)) { - SkShader::ContextRec rec(*fBitmap, p, *fMatrix); - rec.fLocalMatrix = &tempM; + SkShader::ContextRec rec(p, *fMatrix, &tempM); if (!blitter->resetShaderContext(rec)) { continue; } |