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

Issue 606543002: CC: Stop TimingFunction inheriting from AnimationCurve. (Closed)

Created:
6 years, 3 months ago by ikilpatrick
Modified:
6 years, 2 months ago
Reviewers:
ajuma, samli
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

CC: Stop TimingFunction inheriting from AnimationCurve. Simplifies code as TimingFunction has no logical reason to inherit from AnimationCurve (apart from sharing a few method names). Make code more clear. BUG= Committed: https://crrev.com/470df4f966c86d4e416970415380917b32417b46 Cr-Commit-Position: refs/heads/master@{#296862}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Reordered functions in timing_function.cc #

Patch Set 3 : Added missing scoped_ptr include. #

Patch Set 4 : Fixed test by using FakeFloatAnimationCurve, added import. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -34 lines) Patch
M cc/animation/keyframed_animation_curve.cc View 5 chunks +4 lines, -12 lines 0 comments Download
M cc/animation/timing_function.h View 2 chunks +8 lines, -12 lines 0 comments Download
M cc/animation/timing_function.cc View 1 2 3 4 chunks +6 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (5 generated)
ikilpatrick
https://codereview.chromium.org/606543002/diff/1/cc/animation/timing_function.h File cc/animation/timing_function.h (right): https://codereview.chromium.org/606543002/diff/1/cc/animation/timing_function.h#newcode22 cc/animation/timing_function.h:22: virtual scoped_ptr<TimingFunction> Clone() const = 0; Is there an ...
6 years, 3 months ago (2014-09-25 05:03:18 UTC) #2
samli
lgtm https://codereview.chromium.org/606543002/diff/1/cc/animation/timing_function.h File cc/animation/timing_function.h (right): https://codereview.chromium.org/606543002/diff/1/cc/animation/timing_function.h#newcode22 cc/animation/timing_function.h:22: virtual scoped_ptr<TimingFunction> Clone() const = 0; On 2014/09/25 ...
6 years, 2 months ago (2014-09-25 07:46:36 UTC) #3
ikilpatrick
https://codereview.chromium.org/606543002/diff/1/cc/animation/timing_function.h File cc/animation/timing_function.h (right): https://codereview.chromium.org/606543002/diff/1/cc/animation/timing_function.h#newcode22 cc/animation/timing_function.h:22: virtual scoped_ptr<TimingFunction> Clone() const = 0; On 2014/09/25 07:46:36, ...
6 years, 2 months ago (2014-09-25 08:50:27 UTC) #5
ajuma
lgtm, but please add a sentence to the description explaining why we're making this change.
6 years, 2 months ago (2014-09-25 14:52:17 UTC) #6
ikilpatrick
On 2014/09/25 14:52:17, ajuma wrote: > lgtm, but please add a sentence to the description ...
6 years, 2 months ago (2014-09-25 23:01:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/606543002/20001
6 years, 2 months ago (2014-09-25 23:03:55 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/71566) linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/2450)
6 years, 2 months ago (2014-09-25 23:18:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/606543002/60001
6 years, 2 months ago (2014-09-26 00:35:58 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001) as ae27894ae26774981d8e64acb1900b7d8aa0bad9
6 years, 2 months ago (2014-09-26 02:26:43 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 02:27:24 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/470df4f966c86d4e416970415380917b32417b46
Cr-Commit-Position: refs/heads/master@{#296862}

Powered by Google App Engine
This is Rietveld 408576698