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

Issue 2349183002: Turn FilterEffectBuilder into a stack-allocated helper (Closed)

Created:
4 years, 3 months ago by fs
Modified:
4 years, 3 months ago
Reviewers:
chrishtr, Stephen White
CC:
ajuma+watch-canvas_chromium.org, blink-reviews, blink-reviews-paint_chromium.org, Rik, chromium-reviews, dshwang, haraken, Justin Novosad, slimming-paint-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Turn FilterEffectBuilder into a stack-allocated helper This moves the FilterEffect reference out of FilterEffectBuilder and into the owner (PaintLayerFilterInfo), and then turns FilterEffectBuilder into a more proper builder-style object that is configured by the client and then has build...() called upon it to construct the filter. Rename the old build() method to buildFilterEffect(). Fix up PaintLayer to remove the indirection, and similarly adjust the other users (CanvasRenderingContext2DState, SVGFilterPainter). BUG=439970 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/7b071067f2fa8355f9b47dc7d5c9b2f4fe412efb Cr-Commit-Position: refs/heads/master@{#419697}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -120 lines) Patch
M third_party/WebKit/Source/core/paint/FilterEffectBuilder.h View 1 chunk +21 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp View 5 chunks +24 lines, -41 lines 2 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 3 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 10 chunks +32 lines, -37 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerFilterInfo.h View 3 chunks +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerFilterInfo.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp View 2 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
fs
4 years, 3 months ago (2016-09-19 13:49:33 UTC) #5
Stephen White
LGTM https://codereview.chromium.org/2349183002/diff/1/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp File third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp (right): https://codereview.chromium.org/2349183002/diff/1/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp#newcode258 third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp:258: Filter* FilterEffectBuilder::buildReferenceFilter( I wonder if we should now ...
4 years, 3 months ago (2016-09-19 14:59:36 UTC) #8
fs
https://codereview.chromium.org/2349183002/diff/1/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp File third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp (right): https://codereview.chromium.org/2349183002/diff/1/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp#newcode258 third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp:258: Filter* FilterEffectBuilder::buildReferenceFilter( On 2016/09/19 at 14:59:36, Stephen White wrote: ...
4 years, 3 months ago (2016-09-20 08:17:28 UTC) #9
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/2349183002/1
4 years, 3 months ago (2016-09-20 08:17:50 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-20 08:22:54 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 08:24:52 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7b071067f2fa8355f9b47dc7d5c9b2f4fe412efb
Cr-Commit-Position: refs/heads/master@{#419697}

Powered by Google App Engine
This is Rietveld 408576698