aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkDiscretePathEffect.h
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-12-20 20:08:42 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-20 20:08:43 -0800
commit2d6ba6690f8951e152d8e793191b14afd52f5506 (patch)
treeff71833d1327c08c9e31451d2a18286fc95f7bb0 /include/effects/SkDiscretePathEffect.h
parentd63f60a36327e9580861205ebb35cade8c49bd34 (diff)
Revert of change all factories to return their base-class (patchset #1 id:1 of https://codereview.chromium.org/1535353002/ )
Reason for revert: need to update some chrome/blink call-sites Original issue's description: > change all factories to return their base-class > > will watch DEPS roll to see if there are chrome sites needing updates > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1535353002 > > TBR= > > Committed: https://skia.googlesource.com/skia/+/d63f60a36327e9580861205ebb35cade8c49bd34 TBR= NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1540203002
Diffstat (limited to 'include/effects/SkDiscretePathEffect.h')
-rw-r--r--include/effects/SkDiscretePathEffect.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/effects/SkDiscretePathEffect.h b/include/effects/SkDiscretePathEffect.h
index a49e2d89a7..b55dca8644 100644
--- a/include/effects/SkDiscretePathEffect.h
+++ b/include/effects/SkDiscretePathEffect.h
@@ -29,7 +29,9 @@ public:
they can pass in a different seedAssist to get a
different set of path segments.
*/
- static SkPathEffect* Create(SkScalar segLength, SkScalar deviation, uint32_t seedAssist = 0) {
+ static SkDiscretePathEffect* Create(SkScalar segLength,
+ SkScalar deviation,
+ uint32_t seedAssist=0) {
return new SkDiscretePathEffect(segLength, deviation, seedAssist);
}