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

Issue 1605943002: Remove tracking of 'closed subpath' state from SVGPathBuilder (Closed)

Created:
4 years, 11 months ago by fs
Modified:
4 years, 11 months ago
Reviewers:
pdr., f(malita)
CC:
fs, blink-reviews, chromium-reviews, krit, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove tracking of 'closed subpath' state from SVGPathBuilder For any implicit moveto (like: "M0,0z L..." it would not do the right thing (clear m_closed), which could result in unwanted calls to Path::closeSubpath if a(n explicit) moveto followed. This in turn would result in rendering errors (the "close" line being stroked that should not.) SkPath seems to do a much better job of this already - and Path is just a thin wrapper around SkPath in these cases - so just drop the SVGPathBuilder::m_closed flag and leave the work to SkPath. BUG=578254 Committed: https://crrev.com/7c511917b445472dd0bb5a75600830bce7dadb4f Cr-Commit-Position: refs/heads/master@{#370168}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
A third_party/WebKit/LayoutTests/svg/stroke/implicit-moveto-followed-by-explicit-moveto.html View 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/stroke/implicit-moveto-followed-by-explicit-moveto-expected.html View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPathBuilder.h View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
fs
Remove code (and data) - fix bug. Win? =P
4 years, 11 months ago (2016-01-19 14:34:15 UTC) #2
f(malita)
On 2016/01/19 14:34:15, fs wrote: > Remove code (and data) - fix bug. Win? =P ...
4 years, 11 months ago (2016-01-19 14:51:59 UTC) #3
pdr.
On 2016/01/19 at 14:51:59, fmalita wrote: > On 2016/01/19 14:34:15, fs wrote: > > Remove ...
4 years, 11 months ago (2016-01-19 19:39:40 UTC) #4
pdr.
LGTM
4 years, 11 months ago (2016-01-19 19:39:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605943002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605943002/1
4 years, 11 months ago (2016-01-19 19:40:07 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-19 19:45:33 UTC) #8
commit-bot: I haz the power
4 years, 11 months ago (2016-01-19 19:47:32 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7c511917b445472dd0bb5a75600830bce7dadb4f
Cr-Commit-Position: refs/heads/master@{#370168}

Powered by Google App Engine
This is Rietveld 408576698