Index: src/gpu/batches/GrDashLinePathRenderer.cpp |
diff --git a/src/gpu/batches/GrDashLinePathRenderer.cpp b/src/gpu/batches/GrDashLinePathRenderer.cpp |
index 8cb8046af4ebaf3ed1ec4fb04799cdc8ce06cc60..9ee27c78ddfc2bbf8ad10812b910bbac9c90ef3e 100644 |
--- a/src/gpu/batches/GrDashLinePathRenderer.cpp |
+++ b/src/gpu/batches/GrDashLinePathRenderer.cpp |
@@ -12,8 +12,8 @@ |
bool GrDashLinePathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const { |
SkPoint pts[2]; |
- if (args.fStyle->isDashed() && args.fPath->isLine(pts)) { |
- return GrDashingEffect::CanDrawDashLine(pts, *args.fStyle, *args.fViewMatrix); |
+ if (args.fStroke->isDashed() && args.fPath->isLine(pts)) { |
+ return GrDashingEffect::CanDrawDashLine(pts, *args.fStroke, *args.fViewMatrix); |
} |
return false; |
} |
@@ -28,7 +28,7 @@ |
pts, |
args.fAntiAlias, |
msaaIsEnabled, |
- *args.fStyle)); |
+ *args.fStroke)); |
if (!batch) { |
return false; |
} |