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

Issue 2811253003: Make InterpolationEnvironment virutal (Closed)

Created:
3 years, 8 months ago by alancutter (OOO until 2018)
Modified:
3 years, 6 months ago
Reviewers:
Eric Willigers
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, krit, Eric Willigers, fmalita+watch_chromium.org, fs, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make InterpolationEnvironment virutal This change refactors InterpolationEnvironment to be virtual and splits its members between two subclasses, one for CSS and one for SVG. This gives us better separation between the two environments and provides better type checking to make sure the appropriate data member is being accessed for the context. This patch introduces no changes in behaviour. BUG=671904 Review-Url: https://codereview.chromium.org/2811253003 Cr-Commit-Position: refs/heads/master@{#475288} Committed: https://chromium.googlesource.com/chromium/src/+/90832f4a196820a9ff74e7464286330bbd255b69

Patch Set 1 #

Patch Set 2 : +interpolationEnvironmentVirtual #

Patch Set 3 : +interpolationEnvironmentVirtual #

Patch Set 4 : Rebased #

Total comments: 4

Patch Set 5 : explicit #

Patch Set 6 : protected #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -86 lines) Patch
A third_party/WebKit/Source/core/animation/CSSInterpolationEnvironment.h View 1 chunk +54 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSInterpolationType.h View 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp View 1 2 3 4 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/InterpolationEnvironment.h View 1 2 3 4 5 1 chunk +6 lines, -55 lines 0 comments Download
M third_party/WebKit/Source/core/animation/InvalidatableInterpolation.cpp View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
A third_party/WebKit/Source/core/animation/SVGInterpolationEnvironment.h View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGInterpolationType.cpp View 2 chunks +12 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGLengthListInterpolationType.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.cpp View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/TransitionInterpolation.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGElement.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 18 (12 generated)
alancutter (OOO until 2018)
3 years, 7 months ago (2017-05-26 01:14:11 UTC) #4
Eric Willigers
lgtm with nit https://codereview.chromium.org/2811253003/diff/60001/third_party/WebKit/Source/core/animation/InterpolationEnvironment.h File third_party/WebKit/Source/core/animation/InterpolationEnvironment.h (right): https://codereview.chromium.org/2811253003/diff/60001/third_party/WebKit/Source/core/animation/InterpolationEnvironment.h#newcode26 third_party/WebKit/Source/core/animation/InterpolationEnvironment.h:26: InterpolationEnvironment(const InterpolationTypesMap& map) explicit
3 years, 7 months ago (2017-05-26 01:34:17 UTC) #6
Eric Willigers
https://codereview.chromium.org/2811253003/diff/60001/third_party/WebKit/Source/core/animation/InterpolationEnvironment.h File third_party/WebKit/Source/core/animation/InterpolationEnvironment.h (right): https://codereview.chromium.org/2811253003/diff/60001/third_party/WebKit/Source/core/animation/InterpolationEnvironment.h#newcode16 third_party/WebKit/Source/core/animation/InterpolationEnvironment.h:16: virtual ~InterpolationEnvironment() {} Could be protected.
3 years, 7 months ago (2017-05-26 01:37:04 UTC) #7
alancutter (OOO until 2018)
https://codereview.chromium.org/2811253003/diff/60001/third_party/WebKit/Source/core/animation/InterpolationEnvironment.h File third_party/WebKit/Source/core/animation/InterpolationEnvironment.h (right): https://codereview.chromium.org/2811253003/diff/60001/third_party/WebKit/Source/core/animation/InterpolationEnvironment.h#newcode16 third_party/WebKit/Source/core/animation/InterpolationEnvironment.h:16: virtual ~InterpolationEnvironment() {} On 2017/05/26 at 01:37:03, Eric Willigers ...
3 years, 7 months ago (2017-05-26 01:42:10 UTC) #8
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/2811253003/100001
3 years, 6 months ago (2017-05-29 03:07:50 UTC) #15
commit-bot: I haz the power
3 years, 6 months ago (2017-05-29 04:54:32 UTC) #18
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/90832f4a196820a9ff74e7464286...

Powered by Google App Engine
This is Rietveld 408576698