aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/filtermain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/filtermain.cpp b/tools/filtermain.cpp
index 74cf42705f..5d7241e1c3 100644
--- a/tools/filtermain.cpp
+++ b/tools/filtermain.cpp
@@ -238,7 +238,7 @@ static void apply_3(SkTDArray<SkDrawCommand*>& commands, int curCommand) {
restore->setVisible(false);
// TODO: could skip paint re-creation if the AA settings already match
- SkPaint newPaint = *dr->paint();
+ SkPaint newPaint = dr->paint();
newPaint.setAntiAlias(crr->doAA());
DrawRRect* drr = new DrawRRect(crr->rrect(), newPaint);
commands[curCommand+2] = drr;