Index: gm/pathcontourstart.cpp |
diff --git a/gm/pathcontourstart.cpp b/gm/pathcontourstart.cpp |
index de3644c9f195ef6ed7d8f5b087bdb8565dfdf06a..dbda7c3caef3a494c8f10e1193b2963468fbdc2e 100644 |
--- a/gm/pathcontourstart.cpp |
+++ b/gm/pathcontourstart.cpp |
@@ -26,14 +26,11 @@ public: |
intervals.push_back(len); |
} |
- SkAutoTUnref<SkPathEffect> effect( |
- SkDashPathEffect::Create(intervals.begin(), intervals.count(), 0)); |
- |
fDashPaint.setAntiAlias(true); |
fDashPaint.setStyle(SkPaint::kStroke_Style); |
fDashPaint.setStrokeWidth(6); |
fDashPaint.setColor(0xff008000); |
- fDashPaint.setPathEffect(effect); |
+ fDashPaint.setPathEffect(SkDashPathEffect::Make(intervals.begin(), intervals.count(), 0)); |
fPointsPaint.setColor(0xff800000); |
fPointsPaint.setStrokeWidth(3); |