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

Issue 658333003: Make RenderSVGResource::requestPaintingResource an implementation detail (Closed)

Created:
6 years, 2 months ago by fs
Modified:
6 years, 2 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, rwlbuis, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, ed+blinkwatch_opera.com, krit, gyuyoung.kim_webkit.org, jchaffraix+rendering, Stephen Chennney, pdr+svgwatchlist_chromium.org, rune+blink
Project:
blink
Visibility:
Public.

Description

Make RenderSVGResource::requestPaintingResource an implementation detail This allows "simple color" and resource-based paint-servers to be separated, and clears the path for removing RenderSVGResource from the inheritance chain. Rename requestPaintingResource to requestPaint, because it no longer return (only) a 'resource'. RenderSVGResource::sharedSolidPaintingResource becomes unused - as well as RenderSVGResourceSolidColor, so remove those. BUG=420022 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184094

Patch Set 1 #

Patch Set 2 : Drop SolidColorResourceType. #

Total comments: 5

Patch Set 3 : Make requestPaint an impl. detail. #

Patch Set 4 : Tweaks for DRT output. #

Patch Set 5 : Revert to earlier. Try to keep some impl-detail-hiding. #

Total comments: 1

Patch Set 6 : requestPaintForDRT -> requestPaintDescription. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -159 lines) Patch
M Source/core/core.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResource.h View 1 2 3 4 5 5 chunks +17 lines, -6 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResource.cpp View 1 2 3 4 5 5 chunks +44 lines, -49 lines 0 comments Download
D Source/core/rendering/svg/RenderSVGResourceSolidColor.h View 1 chunk +0 lines, -47 lines 0 comments Download
D Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp View 1 chunk +0 lines, -40 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGShape.cpp View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M Source/core/rendering/svg/SVGRenderTreeAsText.cpp View 1 2 3 4 5 4 chunks +11 lines, -9 lines 0 comments Download
M Source/core/rendering/svg/SVGResources.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/SVGResourcesCycleSolver.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (2 generated)
fs
Potential first step on the path of removing RenderSVGResource. Approximate follow-up steps: * Move markForLayoutAndParentResourceInvalidation ...
6 years, 2 months ago (2014-10-17 18:10:55 UTC) #2
fs
On 2014/10/17 18:10:55, fs wrote: > Potential first step on the path of removing RenderSVGResource. ...
6 years, 2 months ago (2014-10-20 13:18:21 UTC) #3
f(malita)
https://codereview.chromium.org/658333003/diff/20001/Source/core/rendering/svg/RenderSVGResource.h File Source/core/rendering/svg/RenderSVGResource.h (right): https://codereview.chromium.org/658333003/diff/20001/Source/core/rendering/svg/RenderSVGResource.h#newcode83 Source/core/rendering/svg/RenderSVGResource.h:83: struct PaintDescription { This smells close enough to a ...
6 years, 2 months ago (2014-10-20 14:51:07 UTC) #4
fs
https://codereview.chromium.org/658333003/diff/20001/Source/core/rendering/svg/RenderSVGResource.h File Source/core/rendering/svg/RenderSVGResource.h (right): https://codereview.chromium.org/658333003/diff/20001/Source/core/rendering/svg/RenderSVGResource.h#newcode83 Source/core/rendering/svg/RenderSVGResource.h:83: struct PaintDescription { On 2014/10/20 14:51:06, Florin Malita wrote: ...
6 years, 2 months ago (2014-10-20 15:20:21 UTC) #5
fs
https://codereview.chromium.org/658333003/diff/20001/Source/core/rendering/svg/RenderSVGResource.h File Source/core/rendering/svg/RenderSVGResource.h (right): https://codereview.chromium.org/658333003/diff/20001/Source/core/rendering/svg/RenderSVGResource.h#newcode83 Source/core/rendering/svg/RenderSVGResource.h:83: struct PaintDescription { On 2014/10/20 15:20:20, fs wrote: > ...
6 years, 2 months ago (2014-10-20 15:52:25 UTC) #6
fs
Ok, minor re-org done. The extra struct us still there, but it no longer visible ...
6 years, 2 months ago (2014-10-20 16:03:04 UTC) #7
f(malita)
On 2014/10/20 16:03:04, fs wrote: > Ok, minor re-org done. The extra struct us still ...
6 years, 2 months ago (2014-10-20 16:37:39 UTC) #8
fs
On 2014/10/20 16:37:39, Florin Malita wrote: > On 2014/10/20 16:03:04, fs wrote: > > Ok, ...
6 years, 2 months ago (2014-10-20 16:45:24 UTC) #9
fs
On 2014/10/20 16:45:24, fs wrote: > On 2014/10/20 16:37:39, Florin Malita wrote: > > On ...
6 years, 2 months ago (2014-10-20 19:26:29 UTC) #10
fs
On 2014/10/20 19:26:29, fs wrote: > On 2014/10/20 16:45:24, fs wrote: > > On 2014/10/20 ...
6 years, 2 months ago (2014-10-21 11:41:54 UTC) #11
f(malita)
On 2014/10/21 11:41:54, fs wrote: > On 2014/10/20 19:26:29, fs wrote: > > On 2014/10/20 ...
6 years, 2 months ago (2014-10-21 12:27:33 UTC) #12
fs
On 2014/10/21 12:27:33, Florin Malita wrote: > On 2014/10/21 11:41:54, fs wrote: > > On ...
6 years, 2 months ago (2014-10-21 13:22:15 UTC) #13
f(malita)
re-lgtm https://codereview.chromium.org/658333003/diff/80001/Source/core/rendering/svg/RenderSVGResource.h File Source/core/rendering/svg/RenderSVGResource.h (right): https://codereview.chromium.org/658333003/diff/80001/Source/core/rendering/svg/RenderSVGResource.h#newcode96 Source/core/rendering/svg/RenderSVGResource.h:96: static SVGPaintDescription requestPaintForDRT(const RenderObject&, const RenderStyle*, RenderSVGResourceMode); nit: ...
6 years, 2 months ago (2014-10-21 13:57:36 UTC) #14
fs
On 2014/10/21 13:57:36, Florin Malita wrote: > re-lgtm Thanks. > https://codereview.chromium.org/658333003/diff/80001/Source/core/rendering/svg/RenderSVGResource.h > File Source/core/rendering/svg/RenderSVGResource.h (right): ...
6 years, 2 months ago (2014-10-21 14:08:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/658333003/100001
6 years, 2 months ago (2014-10-21 15:40:09 UTC) #17
commit-bot: I haz the power
6 years, 2 months ago (2014-10-21 16:00:56 UTC) #18
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as 184094

Powered by Google App Engine
This is Rietveld 408576698