Index: src/gpu/GrStrokeInfo.cpp |
diff --git a/src/gpu/GrStrokeInfo.cpp b/src/gpu/GrStrokeInfo.cpp |
index 30f4b8931e4bbf680cac9b4f6886d277a243c742..be8e5603a1f2c77b9d7aa988263c67b31731c053 100644 |
--- a/src/gpu/GrStrokeInfo.cpp |
+++ b/src/gpu/GrStrokeInfo.cpp |
@@ -11,7 +11,10 @@ |
bool GrStrokeInfo::applyDash(SkPath* dst, GrStrokeInfo* dstStrokeInfo, const SkPath& src) const { |
if (this->isDashed()) { |
- const SkPathEffect::DashInfo& info = this->getDashInfo(); |
+ SkPathEffect::DashInfo info; |
+ info.fIntervals = fIntervals.get(); |
+ info.fCount = fIntervals.count(); |
+ info.fPhase = fDashPhase; |
SkStrokeRec strokeRec = fStroke; |
if (SkDashPath::FilterDashPath(dst, src, &strokeRec, NULL, info)) { |
dstStrokeInfo->fStroke = strokeRec; |