Index: src/gpu/batches/GrDashLinePathRenderer.cpp |
diff --git a/src/gpu/batches/GrDashLinePathRenderer.cpp b/src/gpu/batches/GrDashLinePathRenderer.cpp |
index 9ee27c78ddfc2bbf8ad10812b910bbac9c90ef3e..8cb8046af4ebaf3ed1ec4fb04799cdc8ce06cc60 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.fStroke->isDashed() && args.fPath->isLine(pts)) { |
- return GrDashingEffect::CanDrawDashLine(pts, *args.fStroke, *args.fViewMatrix); |
+ if (args.fStyle->isDashed() && args.fPath->isLine(pts)) { |
+ return GrDashingEffect::CanDrawDashLine(pts, *args.fStyle, *args.fViewMatrix); |
} |
return false; |
} |
@@ -28,7 +28,7 @@ bool GrDashLinePathRenderer::onDrawPath(const DrawPathArgs& args) { |
pts, |
args.fAntiAlias, |
msaaIsEnabled, |
- *args.fStroke)); |
+ *args.fStyle)); |
if (!batch) { |
return false; |
} |