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

Issue 2307343002: Remove dead uses of FilterEffect::determineMaximumEffectRect (Closed)

Created:
4 years, 3 months ago by fs
Modified:
4 years, 3 months ago
CC:
ajuma+watch-canvas_chromium.org, ajuma+watch_chromium.org, blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), haraken, jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, slimming-paint-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove dead uses of FilterEffect::determineMaximumEffectRect Said method only computes m_maxEffectRect. The only users of this data is SVGFilterPainter, directly and via determineAbsolutePaintRect (which in turn uses mapPaintRect which uses maxEffectRect in one case.) Hence all other callsites are calling determineMaximumEffectRect() without making use of the side-effect is has. Remove those uses. This also mean that we can tailor the method for the one remaining user by cleaning up, and removing, the flags argument. TBR=senorblanco@chromium.org BUG=642035 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/c72d8131504201948d6828472d0bdfaf92c11eb5 Cr-Commit-Position: refs/heads/master@{#416888}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -24 lines) Patch
M third_party/WebKit/Source/core/paint/FilterPainter.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FilterEffect.h View 3 chunks +1 line, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp View 4 chunks +3 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 21 (10 generated)
fs
4 years, 3 months ago (2016-09-04 19:04:46 UTC) #7
pdr.
LGTM
4 years, 3 months ago (2016-09-05 02:53:13 UTC) #8
fs
On 2016/09/05 at 02:53:13, pdr wrote: > LGTM senorblanco, ping
4 years, 3 months ago (2016-09-06 18:25:57 UTC) #9
pdr.
On 2016/09/06 at 18:25:57, fs wrote: > On 2016/09/05 at 02:53:13, pdr wrote: > > ...
4 years, 3 months ago (2016-09-06 18:27:51 UTC) #10
Stephen Chennney
On 2016/09/06 18:25:57, fs wrote: > On 2016/09/05 at 02:53:13, pdr wrote: > > LGTM ...
4 years, 3 months ago (2016-09-06 18:28:15 UTC) #11
fs
On 2016/09/06 at 18:28:15, schenney wrote: > senorblanco is out of office. Maybe find another ...
4 years, 3 months ago (2016-09-06 18:44:16 UTC) #13
fs
On 2016/09/06 at 18:27:51, pdr wrote: > On 2016/09/06 at 18:25:57, fs wrote: > > ...
4 years, 3 months ago (2016-09-07 08:09:35 UTC) #14
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/2307343002/1
4 years, 3 months ago (2016-09-07 08:10:27 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-07 09:32:38 UTC) #18
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/c72d8131504201948d6828472d0bdfaf92c11eb5 Cr-Commit-Position: refs/heads/master@{#416888}
4 years, 3 months ago (2016-09-07 09:33:57 UTC) #20
Stephen White
4 years, 3 months ago (2016-09-13 18:30:41 UTC) #21
Message was sent while issue was closed.
Post-landing LGTM.

Awesome!

Powered by Google App Engine
This is Rietveld 408576698