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

Issue 2609803002: Use ShadowData in DropShadowFilterOperation (Closed)

Created:
3 years, 11 months ago by fs
Modified:
3 years, 11 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-css, blink-reviews-paint_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, dshwang, Eric Willigers, rjwright, rwlbuis, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use ShadowData in DropShadowFilterOperation This replaces the "open-coded" (and somewhat compacted) version of a ShadowData structure within DropShadowFilterOperation with an actual ShadowData. While this makes the structure slightly larger, it allows for some additional code-reuse - mostly around style resolution. It's also a first step against more correct handling of the 'currentcolor' value within the drop-shadow(...) filter function. There's a slight change in behavior since ShadowData stores the relevant values as 'float' rather than as 'int' like the "open-coded" version. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/c5aa80de49c0242b169934edf0bfc68f7929db58 Cr-Commit-Position: refs/heads/master@{#441351}

Patch Set 1 #

Patch Set 2 : Fix unittest compilation #

Patch Set 3 : Fix blend(...) order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -114 lines) Patch
M third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp View 2 chunks +5 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.in View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp View 1 chunk +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp View 2 chunks +7 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp View 2 chunks +26 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp View 2 chunks +9 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/style/FilterOperation.h View 3 chunks +9 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/style/FilterOperation.cpp View 1 2 1 chunk +6 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/style/FilterOperationsTest.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/ShadowData.h View 3 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ShadowData.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ShadowList.cpp View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 25 (19 generated)
fs
3 years, 11 months ago (2017-01-03 16:32:55 UTC) #16
alancutter (OOO until 2018)
lgtm
3 years, 11 months ago (2017-01-04 00:24:10 UTC) #17
Timothy Loh
On 2017/01/04 00:24:10, alancutter wrote: > lgtm lgtm
3 years, 11 months ago (2017-01-04 00:26:32 UTC) #18
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/2609803002/40001
3 years, 11 months ago (2017-01-04 10:33:23 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
3 years, 11 months ago (2017-01-04 10:38:08 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 10:40:31 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c5aa80de49c0242b169934edf0bfc68f7929db58
Cr-Commit-Position: refs/heads/master@{#441351}

Powered by Google App Engine
This is Rietveld 408576698