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

Issue 2393993004: Consolidate FilterOperation and FilterEffect mapRect implementations (Closed)

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

Description

Consolidate FilterOperation and FilterEffect mapRect implementations The FilterOperations and FilterEffects for drop-shadow and gaussian blur has very similar but slightly different implementations. Restructure the code a bit so that the entire thing can be shared/reused between the two different code-paths. The new canonical location is the corresponding FilterEffect (FEGaussianBlur and FEDropShadow.) Committed: https://crrev.com/b7c3f49d73334795c7e836874d75dbdb40edfd57 Cr-Commit-Position: refs/heads/master@{#424263}

Patch Set 1 #

Patch Set 2 : Fixup indent; make independent #

Total comments: 5

Patch Set 3 : Rebase; Drop stale comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -73 lines) Patch
M third_party/WebKit/Source/core/style/FilterOperation.cpp View 1 2 3 chunks +5 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FEDropShadow.h View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FEDropShadow.cpp View 1 chunk +14 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp View 1 2 2 chunks +25 lines, -32 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
fs
4 years, 2 months ago (2016-10-06 18:47:21 UTC) #9
Stephen Chennney
Was on vacation. Sorry for the delay. https://codereview.chromium.org/2393993004/diff/20001/third_party/WebKit/Source/core/style/FilterOperation.cpp File third_party/WebKit/Source/core/style/FilterOperation.cpp (right): https://codereview.chromium.org/2393993004/diff/20001/third_party/WebKit/Source/core/style/FilterOperation.cpp#newcode154 third_party/WebKit/Source/core/style/FilterOperation.cpp:154: float stdDeviation ...
4 years, 2 months ago (2016-10-10 19:43:25 UTC) #12
fs
https://codereview.chromium.org/2393993004/diff/20001/third_party/WebKit/Source/core/style/FilterOperation.cpp File third_party/WebKit/Source/core/style/FilterOperation.cpp (right): https://codereview.chromium.org/2393993004/diff/20001/third_party/WebKit/Source/core/style/FilterOperation.cpp#newcode154 third_party/WebKit/Source/core/style/FilterOperation.cpp:154: float stdDeviation = m_stdDeviation; On 2016/10/10 at 19:43:25, Stephen ...
4 years, 2 months ago (2016-10-10 20:40:03 UTC) #13
fs
https://codereview.chromium.org/2393993004/diff/20001/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp File third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp (right): https://codereview.chromium.org/2393993004/diff/20001/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp#newcode48 third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp:48: // compatible with Firefox' behavior. On 2016/10/10 at 20:40:03, ...
4 years, 2 months ago (2016-10-10 20:43:53 UTC) #14
Stephen Chennney
Thanks. LGTM.
4 years, 2 months ago (2016-10-10 20:52:51 UTC) #15
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/2393993004/40001
4 years, 2 months ago (2016-10-10 22:14:14 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-10 22:21:04 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-10 22:23:38 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b7c3f49d73334795c7e836874d75dbdb40edfd57
Cr-Commit-Position: refs/heads/master@{#424263}

Powered by Google App Engine
This is Rietveld 408576698