aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-17 18:33:46 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-17 18:33:46 +0000
commit91217d0b0cdf80a1f18ca24d49e4a925d4629f1f (patch)
treec673b79bfa914a0ae358d5b23e10c84b9872bd62 /tools
parentd4be5dd36c1e8618c756d6b67edb422d29ae608e (diff)
Making SkDrawCommand more robust
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;