aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkDraw.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-06-05 11:31:26 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-05 11:31:26 -0700
commit56263c78d86cb536d463b8d46f00ac44cad3defb (patch)
treec43997464263ed75c154419ee403a54fc0ad0163 /src/core/SkDraw.cpp
parentb500ffa1a253dca35a7ff846ebece9fe570e3565 (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.cpp3
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;
}