From c56009118970d634cdb6c50ff4616c8eb446cda0 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Mon, 29 Apr 2013 18:07:35 +0000 Subject: [PATCH] Minor optimization https://codereview.chromium.org/14495006/ git-svn-id: http://skia.googlecode.com/svn/trunk@8912 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/GrContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 84ad1d3..ab24072 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -781,7 +781,7 @@ void GrContext::drawRect(const GrPaint& paint, GrDrawTarget* target = this->prepareToDraw(&paint, BUFFERED_DRAW); GrDrawState::AutoStageDisable atr(fDrawState); - GrRect devRect = rect; + GrRect devRect; SkMatrix combinedMatrix; bool useVertexCoverage; bool needAA = paint.isAntiAlias() && -- 2.7.4