diff options
author | reed <reed@chromium.org> | 2015-12-20 19:38:20 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-20 19:38:20 -0800 |
commit | d63f60a36327e9580861205ebb35cade8c49bd34 (patch) | |
tree | e7510eca058bf2c40c95ebd422e24e7194043200 /include/effects/SkDiscretePathEffect.h | |
parent | 77991de60c30211a29a946d321abd3b4d42b3d75 (diff) |
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=
Review URL: https://codereview.chromium.org/1535353002
Diffstat (limited to 'include/effects/SkDiscretePathEffect.h')
-rw-r--r-- | include/effects/SkDiscretePathEffect.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/effects/SkDiscretePathEffect.h b/include/effects/SkDiscretePathEffect.h index b55dca8644..a49e2d89a7 100644 --- a/include/effects/SkDiscretePathEffect.h +++ b/include/effects/SkDiscretePathEffect.h @@ -29,9 +29,7 @@ public: they can pass in a different seedAssist to get a different set of path segments. */ - static SkDiscretePathEffect* Create(SkScalar segLength, - SkScalar deviation, - uint32_t seedAssist=0) { + static SkPathEffect* Create(SkScalar segLength, SkScalar deviation, uint32_t seedAssist = 0) { return new SkDiscretePathEffect(segLength, deviation, seedAssist); } |