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

Issue 1308983007: Move painting code out of LayoutSVGResourceClipper (Closed)

Created:
5 years, 3 months ago by fs
Modified:
5 years, 3 months ago
Reviewers:
pdr., f(malita)
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, dshwang, krit, eae+blinkwatch, f(malita), fs, gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Move painting code out of LayoutSVGResourceClipper LayoutSVGResourceClipper::tryPathOnlyClipping contains the code to emit the path - if one is successfully built. For the sake of layering, push this out into the caller (SVGClipPainter) instead. Also replace uses of clipperResource().isEmpty() with hasClipper(), rename objectBoundingBox referenceBox (to better match the Masking spec terminology) and rename the tryPathOnlyClipping to asPath. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201254

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -26 lines) Patch
M Source/core/layout/svg/LayoutSVGResourceClipper.h View 1 chunk +1 line, -1 line 2 comments Download
M Source/core/layout/svg/LayoutSVGResourceClipper.cpp View 4 chunks +6 lines, -24 lines 0 comments Download
M Source/core/paint/SVGClipPainter.cpp View 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
fs
Apparently some part of the trybot infrastructure is unhappy, but don't see how this should've ...
5 years, 3 months ago (2015-08-26 18:22:32 UTC) #2
f(malita)
lgtm https://codereview.chromium.org/1308983007/diff/1/Source/core/layout/svg/LayoutSVGResourceClipper.h File Source/core/layout/svg/LayoutSVGResourceClipper.h (right): https://codereview.chromium.org/1308983007/diff/1/Source/core/layout/svg/LayoutSVGResourceClipper.h#newcode49 Source/core/layout/svg/LayoutSVGResourceClipper.h:49: bool asPath(const AffineTransform&, const FloatRect& referenceBox, Path&); On ...
5 years, 3 months ago (2015-08-26 18:38:01 UTC) #3
pdr.
LGTM 2
5 years, 3 months ago (2015-08-26 20:43:06 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308983007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308983007/1
5 years, 3 months ago (2015-08-26 20:44:04 UTC) #6
commit-bot: I haz the power
5 years, 3 months ago (2015-08-26 22:16:22 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201254

Powered by Google App Engine
This is Rietveld 408576698