commit | 91217d0b0cdf80a1f18ca24d49e4a925d4629f1f | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sun Mar 17 18:33:46 2013 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sun Mar 17 18:33:46 2013 +0000 |
tree | c673b79bfa914a0ae358d5b23e10c84b9872bd62 | |
parent | d4be5dd36c1e8618c756d6b67edb422d29ae608e [diff] [blame] |
Making SkDrawCommand more robust https://codereview.appspot.com/7486052/ git-svn-id: http://skia.googlecode.com/svn/trunk@8181 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/filtermain.cpp b/tools/filtermain.cpp index 74cf427..5d7241e 100644 --- a/tools/filtermain.cpp +++ b/tools/filtermain.cpp
@@ -238,7 +238,7 @@ 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;