Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index fd5e476c4ea402fc4396053b4ef994483479cf86..f8bb910cd85d4073f84e0b4b4aeb9527f858f876 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -696,15 +696,9 @@ void set_vertex_attributes(GrDrawState* drawState, bool hasUVs) { |
}; |
void GrDrawTarget::onDrawRect(const SkRect& rect, |
- const SkMatrix* matrix, |
const SkRect* localRect, |
const SkMatrix* localMatrix) { |
- GrDrawState::AutoViewMatrixRestore avmr; |
- if (NULL != matrix) { |
- avmr.set(this->drawState(), *matrix); |
- } |
- |
set_vertex_attributes(this->drawState(), NULL != localRect); |
AutoReleaseGeometry geo(this, 4, 0); |