Revert of more zero-length changes for svg compatibility (patchset #6 id:100001 of...
authorcaryclark <caryclark@google.com>
Wed, 9 Sep 2015 16:34:22 +0000 (09:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 9 Sep 2015 16:34:22 +0000 (09:34 -0700)
commit5ca4fa3846067a47e88d35ace895df3ebe3ec2a5
treeba745ddb320f96a452ff6a9984d9559ad2632acf
parent6c59d80858f453a426df9b07fdf3a8cc01e0b906
Revert of more zero-length changes for svg compatibility (patchset #6 id:100001 of https://codereview.chromium.org/1330623003/ )

Reason for revert:
breaks DEPS

Original issue's description:
> more zero-length changes for svg compatibility
>
> If a path contains a moveTo followed by a line or curve,
> even if the line or curve has no length, SVG expects
> the end caps to draw if the cap style is round or square.
>
> Fredrik Söderquist attached a patch to the chrome bug
> (slightly modified here) that fixes layout test failures
> resulting from deleting special-case code in SVG
> dealing with zero-length path segments.
>
> R=reed@google.com,fs@opera.com
> BUG=22974
>
> Committed: https://skia.googlesource.com/skia/+/62fb1ba1786863e545c89839b5706ad5151cec15

TBR=fs@opera.com,reed@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=22974

Review URL: https://codereview.chromium.org/1334543002
gm/strokes.cpp
src/core/SkCanvas.cpp
src/core/SkStroke.cpp
tests/EmptyPathTest.cpp