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

Issue 2128463002: Pixel snap SVG's root border box to local transform [spv2] (Closed)

Created:
4 years, 5 months ago by pdr.
Modified:
4 years, 5 months ago
Reviewers:
chrishtr, trchen
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pixel snap SVG's root border box to local transform [spv2] This patch extracts out SVGRootPainter's pixel snapping logic into a common function used by both SVGRootPainter and the property tree builder. With this patch a DCHECK in SVGTransformContext can be removed and 77 new tests pass with --enable-slimming-paint-v2. BUG=600618 Committed: https://crrev.com/58a321c5c07599b51b9a80d00c497049ed9bd171 Cr-Commit-Position: refs/heads/master@{#403970}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rename to transformToPixelSnappedBorderBox, improve comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -100 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 11 chunks +0 lines, -77 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGPaintContext.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGRootPainter.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGRootPainter.cpp View 1 2 chunks +21 lines, -16 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2128463002/1
4 years, 5 months ago (2016-07-06 05:16:33 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-06 06:58:12 UTC) #4
pdr.
4 years, 5 months ago (2016-07-06 17:22:45 UTC) #6
trchen
Looks great! lgtm.
4 years, 5 months ago (2016-07-06 17:32:31 UTC) #7
chrishtr
lgtm https://codereview.chromium.org/2128463002/diff/1/third_party/WebKit/Source/core/paint/SVGRootPainter.h File third_party/WebKit/Source/core/paint/SVGRootPainter.h (right): https://codereview.chromium.org/2128463002/diff/1/third_party/WebKit/Source/core/paint/SVGRootPainter.h#newcode25 third_party/WebKit/Source/core/paint/SVGRootPainter.h:25: // Convert from container offsets (html/LayoutUnits) to our ...
4 years, 5 months ago (2016-07-06 17:50:58 UTC) #8
pdr.
https://codereview.chromium.org/2128463002/diff/1/third_party/WebKit/Source/core/paint/SVGRootPainter.h File third_party/WebKit/Source/core/paint/SVGRootPainter.h (right): https://codereview.chromium.org/2128463002/diff/1/third_party/WebKit/Source/core/paint/SVGRootPainter.h#newcode25 third_party/WebKit/Source/core/paint/SVGRootPainter.h:25: // Convert from container offsets (html/LayoutUnits) to our snapped ...
4 years, 5 months ago (2016-07-06 18:33:44 UTC) #9
trchen
https://codereview.chromium.org/2128463002/diff/1/third_party/WebKit/Source/core/paint/SVGRootPainter.h File third_party/WebKit/Source/core/paint/SVGRootPainter.h (right): https://codereview.chromium.org/2128463002/diff/1/third_party/WebKit/Source/core/paint/SVGRootPainter.h#newcode25 third_party/WebKit/Source/core/paint/SVGRootPainter.h:25: // Convert from container offsets (html/LayoutUnits) to our snapped ...
4 years, 5 months ago (2016-07-06 19:00:21 UTC) #10
chrishtr
On 2016/07/06 at 19:00:21, trchen wrote: > https://codereview.chromium.org/2128463002/diff/1/third_party/WebKit/Source/core/paint/SVGRootPainter.h > File third_party/WebKit/Source/core/paint/SVGRootPainter.h (right): > > https://codereview.chromium.org/2128463002/diff/1/third_party/WebKit/Source/core/paint/SVGRootPainter.h#newcode25 ...
4 years, 5 months ago (2016-07-06 20:17:43 UTC) #11
pdr.
https://codereview.chromium.org/2128463002/diff/1/third_party/WebKit/Source/core/paint/SVGRootPainter.h File third_party/WebKit/Source/core/paint/SVGRootPainter.h (right): https://codereview.chromium.org/2128463002/diff/1/third_party/WebKit/Source/core/paint/SVGRootPainter.h#newcode25 third_party/WebKit/Source/core/paint/SVGRootPainter.h:25: // Convert from container offsets (html/LayoutUnits) to our snapped ...
4 years, 5 months ago (2016-07-06 20:23:27 UTC) #12
trchen
lgtm again. (y)
4 years, 5 months ago (2016-07-06 20:38:39 UTC) #13
chrishtr
lgtm
4 years, 5 months ago (2016-07-06 20:42:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2128463002/20001
4 years, 5 months ago (2016-07-06 20:42:51 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-06 23:22:13 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 23:22:18 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 23:25:10 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/58a321c5c07599b51b9a80d00c497049ed9bd171
Cr-Commit-Position: refs/heads/master@{#403970}

Powered by Google App Engine
This is Rietveld 408576698