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

Issue 1326183002: Merge ReferenceFilter into Filter (Closed)

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

Description

Merge ReferenceFilter into Filter The number of differences between the different subclasses of Filter is decreasing. This brings in a sink and source reference into the baseclass and makes use of that for users of the SVGFilter subclass too. Instances of 'targetBoundingBox' is renamed to 'referenceBox' and the absoluteFilterRegion() method is simplified. BUG=109224 Committed: https://crrev.com/e57a376a142ca72f6adeeac938bd4287fd54934c git-svn-id: svn://svn.chromium.org/blink/trunk@202273 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Patch Set 1 #

Total comments: 7

Patch Set 2 : Touchups; Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -210 lines) Patch
M Source/core/layout/svg/LayoutSVGResourceFilter.cpp View 1 2 chunks +4 lines, -3 lines 0 comments Download
M Source/core/layout/svg/ReferenceFilterBuilder.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/layout/svg/ReferenceFilterBuilder.cpp View 5 chunks +8 lines, -9 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayer.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/paint/FilterEffectBuilder.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/paint/FilterEffectBuilder.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/paint/SVGFilterPainter.cpp View 1 3 chunks +5 lines, -6 lines 0 comments Download
M Source/core/svg/graphics/filters/SVGFilter.h View 2 chunks +1 line, -3 lines 0 comments Download
M Source/core/svg/graphics/filters/SVGFilter.cpp View 3 chunks +9 lines, -10 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 2 chunks +1 line, -2 lines 0 comments Download
M Source/platform/graphics/filters/Filter.h View 1 1 chunk +31 lines, -14 lines 0 comments Download
A + Source/platform/graphics/filters/Filter.cpp View 1 1 chunk +22 lines, -8 lines 0 comments Download
M Source/platform/graphics/filters/FilterOperation.h View 3 chunks +3 lines, -4 lines 0 comments Download
M Source/platform/graphics/filters/ImageFilterBuilderTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
D Source/platform/graphics/filters/ReferenceFilter.h View 1 chunk +0 lines, -76 lines 0 comments Download
D Source/platform/graphics/filters/ReferenceFilter.cpp View 1 chunk +0 lines, -62 lines 0 comments Download
M Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
fs
Step 1 on the road to consolidating the subclasses of Filter - if this passes ...
5 years, 3 months ago (2015-09-04 16:25:32 UTC) #2
fs
On 2015/09/04 16:25:32, fs wrote: > Step 1 on the road to consolidating the subclasses ...
5 years, 3 months ago (2015-09-14 18:33:50 UTC) #3
Stephen White
Thanks for taking this on -- I've been meaning to do this. https://codereview.chromium.org/1326183002/diff/1/Source/core/paint/SVGFilterPainter.cpp File Source/core/paint/SVGFilterPainter.cpp ...
5 years, 3 months ago (2015-09-14 18:49:34 UTC) #4
fs
https://codereview.chromium.org/1326183002/diff/1/Source/core/paint/SVGFilterPainter.cpp File Source/core/paint/SVGFilterPainter.cpp (right): https://codereview.chromium.org/1326183002/diff/1/Source/core/paint/SVGFilterPainter.cpp#newcode47 Source/core/paint/SVGFilterPainter.cpp:47: // FIXME: maybe filterData should just hold onto SourceGraphic ...
5 years, 3 months ago (2015-09-15 10:42:56 UTC) #5
Stephen White
LGTM https://codereview.chromium.org/1326183002/diff/1/Source/platform/graphics/filters/Filter.h File Source/platform/graphics/filters/Filter.h (right): https://codereview.chromium.org/1326183002/diff/1/Source/platform/graphics/filters/Filter.h#newcode85 Source/platform/graphics/filters/Filter.h:85: FloatRect m_referenceBox; On 2015/09/15 10:42:56, fs wrote: > ...
5 years, 3 months ago (2015-09-15 14:25:35 UTC) #6
f(malita)
LGTM 2
5 years, 3 months ago (2015-09-15 14:30:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1326183002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1326183002/20001
5 years, 3 months ago (2015-09-15 14:31:01 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://src.chromium.org/viewvc/blink?view=rev&revision=202273
5 years, 3 months ago (2015-09-15 15:22:49 UTC) #10
commit-bot: I haz the power
5 years, 2 months ago (2015-09-23 12:45:06 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e57a376a142ca72f6adeeac938bd4287fd54934c

Powered by Google App Engine
This is Rietveld 408576698