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;