Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: src/core/SkPath.cpp

Issue 19540004: Avoid lineTo() duplication in SkPath::dump(). (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPath.cpp
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
index 4ff62878b9d94d7ec6ce0415ca15033e9d603700..b28518425ee655bcb1d6df48660a009d8d219a30 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -2178,7 +2178,6 @@ void SkPath::dump(bool forceClose, const char title[]) const {
break;
case kLine_Verb:
append_params(&builder, "path.lineTo", &pts[1], 1);
- append_params(&builder, "path.lineTo", &pts[1], 1);
break;
case kQuad_Verb:
append_params(&builder, "path.quadTo", &pts[1], 2);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698