Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Issue 1330623003: more zero-length changes for svg compatibility (Closed)

Created:
5 years, 3 months ago by caryclark
Modified:
5 years, 3 months ago
Reviewers:
fs, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

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

Patch Set 1 #

Patch Set 2 : fixes for empty path #

Patch Set 3 : remove inline from hasOnlyMoveTo() #

Total comments: 6

Patch Set 4 : add comments #

Patch Set 5 : remove path short circuit; fix empty test #

Patch Set 6 : simplify change to empty path test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -3 lines) Patch
M gm/strokes.cpp View 2 chunks +10 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkStroke.cpp View 1 2 3 3 chunks +12 lines, -0 lines 0 comments Download
M tests/EmptyPathTest.cpp View 1 2 3 4 5 3 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (11 generated)
caryclark
5 years, 3 months ago (2015-09-03 15:41:58 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1330623003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330623003/1
5 years, 3 months ago (2015-09-03 15:42:01 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/3002)
5 years, 3 months ago (2015-09-03 15:43:52 UTC) #5
fs
On 2015/09/03 15:41:58, caryclark wrote: Thanks for picking it (the patch sketch) up! Hopefully the ...
5 years, 3 months ago (2015-09-03 15:49:24 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1330623003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330623003/20001
5 years, 3 months ago (2015-09-03 16:39:42 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/3003) Build-Ubuntu-Clang-x86_64-Debug-Trybot on ...
5 years, 3 months ago (2015-09-03 16:40:33 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1330623003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330623003/40001
5 years, 3 months ago (2015-09-03 16:44:52 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-03 16:49:33 UTC) #14
reed1
https://codereview.chromium.org/1330623003/diff/40001/include/core/SkPath.h File include/core/SkPath.h (right): https://codereview.chromium.org/1330623003/diff/40001/include/core/SkPath.h#newcode979 include/core/SkPath.h:979: bool hasOnlyMoveTos() const; Not part of this CL, but ...
5 years, 3 months ago (2015-09-03 19:07:27 UTC) #15
caryclark
https://codereview.chromium.org/1330623003/diff/40001/include/core/SkPath.h File include/core/SkPath.h (right): https://codereview.chromium.org/1330623003/diff/40001/include/core/SkPath.h#newcode979 include/core/SkPath.h:979: bool hasOnlyMoveTos() const; On 2015/09/03 19:07:27, reed1 wrote: > ...
5 years, 3 months ago (2015-09-03 19:37:57 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1330623003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330623003/60001
5 years, 3 months ago (2015-09-03 19:38:11 UTC) #18
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 3 months ago (2015-09-03 19:38:13 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/2406)
5 years, 3 months ago (2015-09-03 19:39:17 UTC) #21
reed1
suggesting we land and compare this GM https://codereview.chromium.org/1311503008/
5 years, 3 months ago (2015-09-04 16:23:15 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1330623003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330623003/100001
5 years, 3 months ago (2015-09-08 13:27:03 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-08 13:33:16 UTC) #26
caryclark
Mike, is there anything more you'd like me to do on this?
5 years, 3 months ago (2015-09-08 17:39:08 UTC) #27
reed1
lgtm
5 years, 3 months ago (2015-09-09 13:51:30 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1330623003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330623003/100001
5 years, 3 months ago (2015-09-09 13:59:29 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/62fb1ba1786863e545c89839b5706ad5151cec15
5 years, 3 months ago (2015-09-09 14:04:37 UTC) #31
dogben
On 2015/09/09 at 14:04:37, commit-bot wrote: > Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/62fb1ba1786863e545c89839b5706ad5151cec15 It seems ...
5 years, 3 months ago (2015-09-09 16:32:02 UTC) #32
caryclark
5 years, 3 months ago (2015-09-09 16:34:06 UTC) #33
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/1334543002/ by caryclark@google.com.

The reason for reverting is: breaks DEPS.

Powered by Google App Engine
This is Rietveld 408576698